vsaase / covid19selfreport

Providing a dashboard for geographically self reporting symptomatic cases of Corona Virus Disease (Covid-19, nCov19, Coronavirus SARS-CoV-2), using Flask and Leaflet and Google App Engine.
https://covid19-selfreport.appspot.com/
GNU General Public License v3.0
6 stars 6 forks source link

Use API to update case numbers #1

Open vsaase opened 4 years ago

vsaase commented 4 years ago

At the moment case numbers are downloaded by hand from Risklayer, see import_risklayer.py, and from RKI, see create_RKI_points.py, but there are APIs available, e.g. German COVID-19 JSON API

We should find a solution to automatically integrate the data from the API with the geojson object in javascript

vsaase commented 4 years ago

I think there are multiple projects with #wirvsvirus which are working on APIs, also something official from RKI might be coming. Also looking at gathering landkreis-based time series data for modelling

NieThor commented 4 years ago

Bundesländer: https://npgeo-corona-npgeo-de.hub.arcgis.com/datasets/ef4b445a53c1406892257fe63129a8ea_0/data?geometry=-67.085%2C46.270%2C83.340%2C55.886

Landkreise: https://npgeo-corona-npgeo-de.hub.arcgis.com/datasets/917fc37a709542548cc3be077a786c17_0

The geojson could be fetched via their api. The geojson data also includes the cases in the Bundesländers and Landkreise.