Skip to content

A helper to access Robert Koch-Institut's covid19 data more easily

Notifications You must be signed in to change notification settings

odnodn/rki-covid19-data

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rki-covid19-data

The Robert Koch-Institut (rki) maintains a dashboard with the development of verified covid19 infections in germany. That dashboard provides an arcgis API. This repository uses that API to dump all data from the table RKI_COVID19 into a csv file for convenient consumption.

Daily Releases

Build Status

Integrate with pandas

>>> import pandas as pd
>>> df = pd.read_csv('https://github.com/ihucos/rki-covid19-data/releases/download/2020-04-03/data.csv')
>>>
>>> #  Total verified infections as shown in dashboard
>>> df['AnzahlFall'][df['AnzahlFall'] > 0].sum()
79696

Sample

IdBundesland Bundesland Landkreis Altersgruppe Geschlecht AnzahlFall AnzahlTodesfall ObjectId Meldedatum IdLandkreis Datenstand NeuerFall NeuerTodesfall
10 Saarland LK Sankt Wendel A60-A79 W 1 0 697852 1585785600000 10046 "03.04.2020, 00:00 Uhr" 1 -9
10 Saarland LK Sankt Wendel A80+ M 1 0 697853 1585699200000 10046 "03.04.2020, 00:00 Uhr" 0 -9
10 Saarland LK Sankt Wendel unbekannt M 1 0 697854 1583971200000 10046 "03.04.2020, 00:00 Uhr" 0 -9
11 Berlin SK Berlin Mitte A00-A04 M 1 0 697855 1583366400000 11001 "03.04.2020, 00:00 Uhr" 0 -9
11 Berlin SK Berlin Mitte A00-A04 M 1 0 697856 1583884800000 11001 "03.04.2020, 00:00 Uhr" 0 -

Note

CI is triggered with https://cron-job.org/ at 1am Europe/Berlin to upload a new release

About

A helper to access Robert Koch-Institut's covid19 data more easily

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%