victorvicpal / COVID19_es

COVID19 Spain data
Apache License 2.0
34 stars 12 forks source link

Why are there negative numbers in new daily cases #18

Closed dimarkov closed 4 years ago

dimarkov commented 4 years ago

Thanks for this repo, very useful and detailed data. I am trying to understand why one can have negative values for daily cases ('nuevos').

The problem that I am getting is that if one sums over all regions, and looks into national data, on 2020-04-24 one gets -10000 new cases. What happened there? And how should the negative values per region be interpreted?

victorvicpal commented 4 years ago

Thanks for pointing out this error. It should not be negative, instead of that for each negative number zero should appear. I'll fix it asap.

victorvicpal commented 4 years ago

I've changed the script so the negative values won't show again

dimarkov commented 4 years ago

Excellent! Thank you for the prompt response.