Skip to content

Commit 6c62235

Browse files
committed
geo_exclusions 9-24, don't forecast wy
1 parent e6e2c03 commit 6c62235

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/covid_geo_exclusions.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ forecast_date,forecaster,geo_value,weight
1111
2024-10-01, climate_base, all, 2
1212
2024-10-01, climate_geo_agged, all, 0
1313
2024-10-01, climate_quantile_extrapolated, all, 0
14+
2024-10-01, climate_linear, hi, 0.0001
1415
##################
1516
# Sept 17
1617
##################

scripts/covid_hosp_prod.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ set_targets_config()
1212
g_aheads <- -1:3
1313
g_submission_directory <- Sys.getenv("COVID_SUBMISSION_DIRECTORY", "cache")
1414
g_insufficient_data_geos <- c("as", "mp", "vi", "gu")
15+
g_insufficient_data_geos_nssp <- c(g_insufficient_data_geos, "wy")
1516
g_time_value_adjust <- 3
1617
g_fetch_args <- epidatr::fetch_args_list(return_empty = FALSE, timeout_seconds = 400)
1718
g_disease <- "covid"
18-
g_external_object_name <- glue::glue("2024/2024-2025_{g_disease}_hosp_forecasts.parquet")
19+
g_external_object_name <- glue::glue("exploration/2024-2025_{g_disease}_hosp_forecasts.parquet")
1920
# date to cut the truth data off at, so we don't have too much of the past
2021
g_truth_data_date <- "2023-09-01"
2122
# Whether we're running in backtest mode.
@@ -275,7 +276,7 @@ forecast_targets <- tar_map(
275276
geo_value = ifelse(geo_value == "usa", "us", geo_value),
276277
time_value = floor_date(time_value, "week", week_start = 7) + 3
277278
) %>%
278-
filter(geo_value %nin% g_insufficient_data_geos)
279+
filter(geo_value %nin% g_insufficient_data_geos_nssp)
279280

280281
if (!grepl("latest", id)) {
281282
nhsn_data %<>%

0 commit comments

Comments
 (0)