Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Pandas experiment to chart some COVID data

License

Notifications You must be signed in to change notification settings

michaelsanford/covid-chart-qc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID 19 Charting for Québec

Pandas experiment to chart some COVID data.

Kaggle

This was ported to Kaggle as a Kaggle Notebook, which was maintained until SRC deprecated their data source and stopped updating it on 9 Aptil 2022. This project is now archived.

Quickstart

pip install -r requirements.txt
py main.py

What is this?

A silly late-night experiment with Pandas to make my own charts.

Probably don't use it for anything serious.

Data Source?

This scrapes the publically-available (but undocumented) SRC data source.

(Thank you for making it public 💖)

History Data Structure

"History": [
    {
        "Date": "2020-10-15",
        "C": "89963",
        "D": "6005",
        "H": "493",
        "I": "83",
        "P": "0",
        "R": "75467",
        "T": "2713686"
    }
]
Key Type Represents
C Number Confirmed Cases (Total)
D Number Deaths (Total)
H Number Hospitalizations (Total, including ICU)
I Number ICU Admissions (Total)
P Float (Unknown)
R Number Recoveries (Total)
T Number Tests Conducted (Total, delayed 48h)