Up-to-date weekly flu hospitalisation data is not accessible through load_truth()
#403
Labels
bug
Something isn't working
load_truth()
#403
I was trying to load up-to-date weekly hospitalisation data using
This internally calls
load_from_hub_repo()
which in turn callsget_truth_path()
. The file_path that is returned is this one:"https://raw.githubusercontent.com/cdcepi/Flusight-forecast-data/master/data-truth/truth-Incident%20Hospitalizations.csv". This file, however, only has data until 2023-11-11.
If I'm not mistaken, it seems like the most up-to-date data could/should be fetched from
"https://github.com/cdcepi/FluSight-forecast-hub/blob/main/target-data/target-hospital-admissions.csv" instead. This would require an update to
load_from_hub_repo()
(updating the repo_path passed toget_truth_path()
) and an update toget_truth_path()
(updating the folder path).The text was updated successfully, but these errors were encountered: