Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global country data for the 'Realtime R0' notebook #10

Open
wants to merge 38 commits into
base: master
Choose a base branch
from

Conversation

NicoWeiner
Copy link

Hi Kevin,

thank you very much for publishing your notebook! I was so free to create a version that imports global country data instead of US-only data. The data is compiled and updated on a daily basis by https://ourworldindata.org.

I hope it is of value!

Best,
Nicolas Weiner

@sanzgiri
Copy link

Hi Nicolas, I have created a similar extension for countries in https://github.com/sanzgiri/covid-19/blob/master/Realtime_R0_by_country.ipynb. I used data from https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data

I ran into an issue for a few countries:

  • for China & France, the highest_density_interval() function does not return correctly
  • for Uganda, ran into another issue

But it ran fine for the rest. Curious if you something similar.

Thanks,
Ashutosh

@NicoWeiner
Copy link
Author

Hi Ashutosh,
France worked fine in my case but China has indeed an issue with the HDI function. I do not know why at this point. In Uganda's case, the issue might be that less than 10 cases are reported in the dataset that you used. I encountered the error that the cases have to be at least two digit (>9) or else the HDI function wouldn't run.

@chrissng
Copy link

chrissng commented Apr 19, 2020

Here's my stab at global using aggregated country-level case counts from Core Datasets: https://github.com/chrissng/covid-19

That said, I don't think it's fare to compare across countries as approach to testing varies across countries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants