get_truth_path | R Documentation |
Construct the file path to a truth file
get_truth_path(
source,
repo_path,
target_variable,
data_location,
hub = c("US", "ECDC", "FluSight")
)
source |
character vector specifying where the truths will be loaded from: currently support "JHU", "NYTimes", "HealthData" and "ECDC". |
repo_path |
path to local clone or remote of the corresponding prediction hub repository. |
target_variable |
string specifying target type It should be one or more of "cum death", "inc case", "inc death", "inc hosp". |
data_location |
character specifying the location of truth data. Currently only supports "local_hub_repo" and "remote_hub_repo". |
hub |
character, which hub to use. Default is "US". Other options are "ECDC" and "FluSight". |
character of file path
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.