load_forecast_files_repo.Rd
Read in a set of forecast files from a repository without rows having NULLs in value column.
load_forecast_files_repo( file_paths, locations = NULL, types = NULL, targets = NULL, hub = c("US", "ECDC") )
file_paths | paths to csv forecast files to read in. It is expected that the file names are in the format "*YYYY-MM-DD-<model_name>.csv". |
---|---|
locations | list of fips. Default to all locations with available forecasts. |
types | Character vector specifying type of forecasts to load: |
targets | character vector of targets to retrieve, for example
|
hub | character vector, where the first element indicates the hub
from which to load forecasts. Possible options are |
data frame with columns model, forecast_date, location, horizon, temporal_resolution, target_variable, target_end_date, type, quantile, value, location_name, population, geo_type, geo_value, abbreviation
The model_name in the file name will be used for the value of the model column in the return result.