Skip to content

Commit 6de0f80

Browse files
committed
fix: typo
1 parent 4d0a1e6 commit 6de0f80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/covid_hosp_prod.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ truth_data_date <- "2023-09-01"
1212
# today, which is a Wednesday. Sometimes, if we're doing a delayed forecast,
1313
# it's a Thursday. It's used for stamping the data and for determining the
1414
# appropriate as_of when creating the forecast.
15-
forecast_generation_dates <- Sys.Date()
15+
forecast_generation_dates <- Sys.Date() - 6
1616
# Usually, the forecast_date is the same as the generation date, but you can
1717
# override this. It should be a Wednesday.
18-
forecast_dates <- round_date(forecast_generation_date, "weeks", week_start = 3)
18+
forecast_dates <- round_date(forecast_generation_dates, "weeks", week_start = 3)
1919
# forecast_generation_date needs to follow suit, but it's more complicated
2020
# because sometimes we forecast on Thursday.
2121
# 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))

0 commit comments

Comments
 (0)