Skip to content

Commit 299d30f

Browse files
committed
substituting also for covid
1 parent c7c4c60 commit 299d30f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

covid_data_substitutions.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
geo_value, forecast_date, time_value, value

flu_data_substitutions.csv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
geo_value, forecast_date, time_value, value
2-
sd, 2025-01-08, 2025-01-01, 43
2+
sd, 2025-01-08, 2025-01-01, 33
3+
id, 2025-01-08, 2025-01-01, 323

scripts/covid_hosp_prod.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ rlang::list2(
9696
mutate(
9797
forecaster = names(forecaster_fns[forecasters]),
9898
geo_value = as.factor(geo_value)
99-
)
99+
) %>%
100+
data_substitutions(disease = "covid")
100101
},
101102
pattern = cross(aheads, forecasters),
102103
cue = tar_cue(mode = "always")

0 commit comments

Comments
 (0)