load_from_hub_repo.Rd
load truth data from a local clone of forecast hub repo
load_from_hub_repo( target_variable, truth_source, repo_path, temporal_resolution, truth_end_date, data_location, hub = c("US", "ECDC") )
target_variable | string specifying target type It should be one or more of
|
---|---|
truth_source | character vector specifying where the truths will
be loaded from: currently support |
repo_path | path to local clone or remote of the corresponding prediction hub repository. |
temporal_resolution | string specifying temporal resolution
to include: one of |
truth_end_date | date to include the last available truth point in |
data_location | character specifying the location of truth data.
Currently only supports |
hub | character, which hub to use. Default is |
a data.frame with columns location
, target_end_date
, target_variable
and value