forecast_dates
from Zoltar.load_latest_forecasts_zoltar.Rd
This function will throw a warning and return an empty data frame when
no forecasts are submitted on any dates in forecast_dates
for selected models
,
locations
, types
and target
.
load_latest_forecasts_zoltar( models = NULL, forecast_dates = NULL, locations = NULL, types = NULL, targets = NULL, as_of = NULL, hub = c("US", "ECDC"), verbose = TRUE )
models | Character vector of model abbreviations. Default all models that submitted forecasts meeting the other criteria. |
---|---|
forecast_dates | A 2 dimensional list of forecast dates to retrieve forecasts.
This function will return the latest forecasts
for each sub-list of dates.
Default to |
locations | list of fips. Default to all locations with available forecasts in Zoltar. |
types | Character vector specifying type of forecasts to load: |
targets | character vector of targets to retrieve, for example
|
as_of | character for date time to load forecasts submitted as of this time.
It could use the format of one of the three examples:
|
hub | character vector, where the first element indicates the hub
from which to load forecasts. Possible options are |
verbose | logical for printing messages on zoltar job status. Default to |
Please use
load_forecasts_zoltar()
instead.