Python scripts for collecting historical case numbers of the spread of COVID-19 in Germany from Robert Koch Institut. https://www.rki.de/DE/Content/InfAZ/N/Neuartiges_Coronavirus/Fallzahlen.html
Data is updated on a daily basis and published in a csv file here: http://www.nexolin.de/data/covid-19/rki/rki_data.csv
rki_get_cases.py
: script for downloading current case numbers from the RKI serverrki_merge_cases.py
: combine cases to one single csv file with the following structure:
Bundesland | date | confirmed | deaths |
---|---|---|---|
name of federal state | date in %Y-%m-%d format | # of confirmed cases | # of deaths |
http://github.com/normannexo/COVID-19-RKI/blob/master/csv/rki_data.csv
clean_archive.py
- The Robert-Koch-Institut frequently changes the structure of the data table. This script tackles resulting problems with the historical csvs to fit the new structure.