ccodwg / CovidTimelineCanada

A definitive dataset for COVID-19 in Canada
https://opencovid.ca/
Other
26 stars 8 forks source link

Add maps to geo #50

Closed jeanpaulrsoucy closed 2 years ago

jeanpaulrsoucy commented 2 years ago

The PHAC daily epidemiology update has two maps: one for the provinces and one for the health regions in TopoJSON format.

The HRUIDs used in the health region file do not agree with ours for British Columbia (they use new 4-digit codes) and Saskatchewan (they use the pre-amalgamation codes present in Canada's 2018 HR map), so we will have to write a script to convert the HRUIDs (and perhaps convert the names to our own canonical names). We should also provide the map files in a more common format (e.g., GeoJSON).

jeanpaulrsoucy commented 2 years ago

Closed by 89be5f0cace9f0237bd6bbd87a40619cec797fa4. TopoJSON versions of the file are not presently available, as the package used (geojsonio in R) currently lacks support for writing TopoJSON (can only read it).

jeanpaulrsoucy commented 2 years ago

In the future, could consider adding things like population data to the maps directly, but I figured it would be easier to support/update this in a single place.