View source: R/retrospective_utils.R
load_retrospective_ensemble_forecasts | R Documentation |
Load retrospective ensemble forecasts that were made on or before
load_retrospective_ensemble_forecasts(
submissions_root,
forecast_dates,
all_locations,
spatial_scales = c("national", "state", "state_national", "county", "euro_countries"),
response_vars = NULL
)
submissions_root |
path to a folder containing submission files from retrospective ensemble fits. It should have subdirectories for each spatial unit grouping used for estimation, i.e., "national", "state", "state_national", and/or "county". Within those folders, we expect a sub-folder for each ensemble specification |
response_vars |
character vector of response variables for which to retrieve forecasts. If missing or NULL, retrieves all appropriate for each spatial scale |
data frame of forecasts in format suitable for use with covidHubUtils functions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.