load_from_hub_repo | R Documentation |
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", "FluSight")
)
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 "US". Other options are "ECDC" and "FluSight". |
a data.frame with columns location
, target_end_date
, target_variable
and value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.