Skip to content

Commit

Permalink
note historic urls don't need to be updated
Browse files Browse the repository at this point in the history
  • Loading branch information
nmdefries committed Sep 23, 2024
1 parent 59f79bf commit e70b0e9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/acquisition/rvdss/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,13 @@
ALTERNATIVE_SEASON_BASE_URL = "www.phac-aspc.gc.ca/bid-bmi/dsd-dsm/rvdi-divr/"
HISTORIC_SEASON_REPORTS_URL + "/en/public-health/services/surveillance/respiratory-virus-detections-canada/{year_range}.html"

# Each URL created here points to a list of all data reports made during that season, e.g.
# Each URL created here points to a list of all data reports made during that
# season, e.g.
# https://www.canada.ca/en/public-health/services/surveillance/respiratory-virus-detections-canada/2014-2015.html.
# The Public Health Agency of Canada site switched in 2024 to reporting
# disease data in a dashboard with a static URL. Therefore, this collection
# of URLs does _NOT_ need to be updated. It is used for fetching historical
# data (for dates on or before June 8, 2024) only.
HISTORIC_SEASON_URL = (HISTORIC_SEASON_REPORTS_URL.format(year_range = year_range) for year_range in
(
"2013-2014",
Expand Down

0 comments on commit e70b0e9

Please sign in to comment.