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