You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to get cases data from my local hub clone. But the command fails because function get_truth_path is not building the required file path correctly. In fact, it is building
I am using
truth_cases <- load_truth(
truth_source = "JHU",
target_variable = "inc case",
locations = c("US", state.name),
data_location = "local_hub_repo",
local_repo_path = "../covid19-forecast-hub")
to get cases data from my local hub clone. But the command fails because function
get_truth_path
is not building the required file path correctly. In fact, it is building'../covid19-forecast-hub/data-truth/truth-/Incident Cases.csv'
whereas the right location is
'../covid19-forecast-hub/data-truth/truth-Incident Cases.csv'
I tracked down the issue to line 466 in
load_truth.R
, where it currently readsfile_path <- file.path(repo_path, truth_folder_path, file_name)
but a
paste
should be used instead (as for the part that downloads the remote repo data).The text was updated successfully, but these errors were encountered: