Python3 code to export .pngs for (public) English covid-19 data, national and regional.
python src/covid_chart_generator.py
Output .png charts will be saved to charts
folder.
Various useful modules to build dataframes on specific metrics in src/modules/dataframe_builder.py
Python
> 3.6
pandas
numpy
matplotlib
seaborn
gcsfs
(for reading Zoe data)
uk-covid19
(for accessing UKHSA API)
for html charts, you'll also need:
bs4
altair
and altair_saver
I'd recommend setting up an environment (easiest with miniconda or similar), then just:
pip install pandas numpy matplotlib seaborn gcsfs uk-covid19 bs4 altair altair_saver