Skip to content

Commit 33b8b92

Browse files
committed
defaulting forecast_date to today
1 parent 1780715 commit 33b8b92

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/covid_hosp_prod.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ insufficient_data_geos <- c("as", "mp", "vi", "gu")
88
truth_data_date <- "2023-09-01"
99
# Generically set the generation date to the next Wednesday (or today if it's Wednesday)
1010
forecast_generation_date <- Sys.Date()
11-
forecast_date <- seq.Date(as.Date("2024-11-20"), Sys.Date(), by = 7L)
12-
11+
#forecast_date <- seq.Date(as.Date("2024-11-20"), Sys.Date(), by = 7L)
12+
forecast_date <- Sys.Date()
1313
forecaster_fns <- list2(
1414
linear = function(...) {
1515
forecaster_baseline_linear(..., residual_tail = 0.97, residual_center = 0.097, no_intercept = TRUE)

scripts/flu_hosp_prod.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ truth_data_date <- "2023-09-01"
1111
end_date <- Sys.Date()
1212
# Generically set the generation date to the next Wednesday (or today if it's Wednesday)
1313
forecast_generation_date <- Sys.Date()
14-
forecast_date <- seq.Date(as.Date("2024-11-20"), Sys.Date(), by = 7L)
15-
# forecast_date <- as.Date("2025-01-08")
14+
#forecast_date <- seq.Date(as.Date("2024-11-20"), Sys.Date(), by = 7L)
15+
forecast_date <- Sys.Date()
1616
very_latent_locations <- list(list(
1717
c("source"),
1818
c("flusurv", "ILI+")

0 commit comments

Comments
 (0)