covid19datahub / COVID19

A worldwide epidemiological database for COVID-19 at fine-grained spatial resolution
https://covid19datahub.io
GNU General Public License v3.0
251 stars 92 forks source link

There is a NA entry for the state MP #42

Closed ajayrawat closed 4 years ago

ajayrawat commented 4 years ago
df.ind <- covid19("IND", level = 2)
mp <- df.ind %>% filter(state=='Madhya Pradesh')

All the values for the confirmed cases for the said state is showing 0.

martinbenes1996 commented 4 years ago

I reviewed your changes. Very nice work, thank you so much for contribution.

eguidotti commented 4 years ago

Yes there was a bug with NA and cumsum. I override the cumsum from the base R to allow removing NAs. Also updated the IND.csv file as you suggested.

Sorry for the late reply, the package went under heavy development these days... that's also why I fixed this issue with the commit 080c59d instead of merging this pull request. In any case I sent you the badge for contributing. Hope you like it :)

Thanks!