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

Historic data seems to be completely incorrect #74

Closed LupusArgentum closed 3 years ago

LupusArgentum commented 3 years ago

I was checking the historic data of 7 days in the past, but the numbers don't make any sense to me: The API shows 11.523 new cases for 21.01.2021, meanwhile the official data of the RKI shows 20.398 new cases for that date. Same thing with the deaths. Am I understanding it wrong or is there some kind of issue with the API?

marlon360 commented 3 years ago

https://github.com/marlon360/rki-covid-api/issues/64

marlon360 commented 3 years ago

Die Neuinfektionen beinhalten alle neuen Fälle, die in den letzten 24h gemeldet wurden. Da bedeutet aber nicht, dass die Infektionen genau an diesem Tag gemeldet wurden. Es gibt immer Verzögerungen bei der Meldung. Das RKI aktualisiert die Historie jeden Tag rückwirkend.

Wenn man sich also jeden Tag, die Neuinfektionen speichern würde, kommt es zu einer falschen Historie.