marlon360 / rki-covid-api

🦠🇩🇪📈 An API for the spread of covid-19 in Germany. Data from Robert-Koch-Institut.
https://api.corona-zahlen.org/
Creative Commons Attribution 4.0 International
250 stars 50 forks source link

Feature Request: Get data by age #137

Closed ChristophKrause closed 3 years ago

ChristophKrause commented 3 years ago

The user wants to get the Inzidenz or Infection/death count by age group and landkreis.

For some age groups this seems to be delivered on https://npgeo-corona-npgeo-de.hub.arcgis.com/datasets/dd4580c810204019a7b8eb3e0b329dd6_0?selectedAttribute=Altersgruppe

Is it possible to implement the wrapper?

lenaschimmel commented 3 years ago

As far as I know, it's relatively easy to get the absolute case count by age group. I did this when I was working on a project similar to rki-covid-data 5 months ago, which I abandoned because rki-covid-data is much better (e.g. cleaner, faster).

I couldn't find the population data broken down by age groups, but just came across risikogebiete_deutschland which has that data as csv and uses it to compute the incidence for each age group.