These 4 data sets, all starting as of 2020-03-31, ending 2020-06-30:
- deaths (cumulative)
- known cases, both confirmed and probable/presumptive (cumulative)
- tests completed (cumulative)
- hospitalized patients (not cumulative, current day only)
For QC, NL, and NU the number of tests completed is not available. Instead, those jurisdictions report the number of people tested. That's a lower number, since people can get tested more than once.
Details about the source data are here.
Most people would prefer to view the data in this project using this github-pages site.
(The main tool used to generate the above charts is an excellent tool called plotly.js.)
In these basic tables and charts for the various jurisdictions, the nominal values always link directly to the screenshot from which the data-point originates. In a few cases the link is missing.
Warning: the bar charts presented here don't render well (they max out) when the screen width is small. If you see a problem, try using landscape instead of portrait.
The source of these stats are screenshots of various government web pages. The screenshots are taken at about 21:00 ADT each day (after the update from BC).
If a jurisdiction hasn't updated that day, then it's recorded here as "N" (not updated).
Recording the actual screenshots is in imitation of this project in the US. Screenshots are more robust than relying on archive.org's Way Back Machine.
The raw data is stored in simple csv files. The data is also available in the json format. These basic tables are charts are generated by scripts using the .csv files as the sole data source. (They are simply generated as markdown, and posted to this github repository.)
The daily tasks needed to maintain the data are done at the end of the day, after all jurisdictions have updated:
- create a new directory in the data/screenshots directory
- follow the naming convention for the dir name: for example 2020-04-26_21h15mADT (the underscore is needed!)
- save screenshots of the various government web pages in that directory
- manually edit the .csv files in the data/csv directory to reflect the day's numbers; these .csv files form the database
- if a jurisdiction has not had an update for that day, then an 'N' is recorded for that day (no update)
- run the script named MarkdownScript to generate markdown files from the new data
- push the files onto the github repo
- verify the data, usually using the links on this page to browse the new data
- if any errors, apply corrections
- run the script named HtmlScript to generate content for the github pages associated with this project
- push the files onto the github repo
This process takes about 30-45 minutes.