Skip to content

Commit 792bc41

Browse files
committed
fix - pension surplus sheet not defined
1 parent dc53fdd commit 792bc41

35 files changed

+5
-5
lines changed

data-raw/prep_data.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,10 @@ JNJ_stock_price <- read_csv("data-raw/data/JNJ.csv")
287287
### K ###
288288
#########
289289

290-
# Crowd funding site Kickstarter
291-
kickstarter <-
292-
read_csv("data-raw/data/kickstarter_data.csv") %>%
293-
sample_frac(0.5) %>%
290+
# Crowd funding site Kickstarter
291+
kickstarter <-
292+
read_csv("data-raw/data/kickstarter_data.csv") %>%
293+
sample_frac(0.5) %>%
294294
select(-`...1`)
295295

296296
#########
@@ -410,7 +410,7 @@ pension_liabilities <-
410410

411411
# pension_surplus
412412
pension_surplus <-
413-
read_excel('data-raw/data/ExerciseSet.xlsx') %>%
413+
read_excel('data-raw/data/ExerciseSet.xlsx', sheet = 8) %>%
414414
clean_names()
415415

416416
# pets

data/IBM_stock_price.rda

-248 Bytes
Binary file not shown.

data/JNJ_stock_price.rda

65 Bytes
Binary file not shown.

data/all_deaths.rda

0 Bytes
Binary file not shown.

data/bimodal.rda

-6 Bytes
Binary file not shown.

data/blood_pressure.rda

-4 Bytes
Binary file not shown.

data/car_use.rda

2 Bytes
Binary file not shown.

data/comms_data.rda

-244 Bytes
Binary file not shown.

data/drinks_content.rda

-6 Bytes
Binary file not shown.

data/example_psi.rda

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)