Skip to content

Commit 62122bf

Browse files
committed
fix: generation_dates early in season
1 parent dcd15e0 commit 62122bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/covid_hosp_prod.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ forecast_dates <- round_date(forecast_generation_dates, "weeks", week_start = 3)
1818

1919
# forecast_generation_date needs to follow suit, but it's more complicated
2020
# because sometimes we forecast on Thursday.
21-
# forecast_generation_dates <- c(as.Date(c("2024-11-20", "2024-11-27", "2024-12-04", "2024-12-11", "2024-12-18", "2024-12-26", "2025-01-02")), seq.Date(as.Date("2025-01-08"), Sys.Date(), by = 7L))
21+
# forecast_generation_dates <- c(as.Date(c("2024-11-22", "2024-11-27", "2024-12-04", "2024-12-11", "2024-12-18", "2024-12-26", "2025-01-02")), seq.Date(as.Date("2025-01-08"), Sys.Date(), by = 7L))
2222
# If doing backfill, you can set the forecast_date to a sequence of dates.
2323
# forecast_dates <- seq.Date(as.Date("2024-11-20"), Sys.Date(), by = 7L)
2424

scripts/flu_hosp_prod.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ forecast_dates <- round_date(forecast_generation_dates, "weeks", week_start = 3)
2222
# forecast_dates <- seq.Date(as.Date("2024-11-20"), Sys.Date(), by = 7L)
2323
# forecast_generation_date needs to follow suit, but it's more complicated
2424
# because sometimes we forecast on Thursday.
25-
# forecast_generation_dates <- c(as.Date(c("2024-11-21", "2024-11-27", "2024-12-04", "2024-12-11", "2024-12-18", "2024-12-26", "2025-01-02")), seq.Date(as.Date("2025-01-08"), Sys.Date(), by = 7L))
25+
# forecast_generation_dates <- c(as.Date(c("2024-11-22", "2024-11-27", "2024-12-04", "2024-12-11", "2024-12-18", "2024-12-26", "2025-01-02")), seq.Date(as.Date("2025-01-08"), Sys.Date(), by = 7L))
2626

2727
# Whether we're running in backtest mode.
2828
# If TRUE, we don't run the report notebook, which is (a) slow and (b) should be

0 commit comments

Comments
 (0)