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

plot mobility/social-distance vs cases #198

Open
djay opened this issue Nov 22, 2021 · 5 comments
Open

plot mobility/social-distance vs cases #198

djay opened this issue Nov 22, 2021 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers pandas involves cleaning data, or creating new plots from data

Comments

@djay
Copy link
Owner

djay commented Nov 22, 2021

http://www.healthdata.org/covid/data-downloads (based on google mobility data but combined to one index) is probably one of the ones.

or use the OWID google mobility data or the raw google data. There is also apple mobility data available but it seems to be based on trip planning and not sure how accurate that is for thailand.

There are perhaps others measures too - https://www.economist.com/the-world-ahead/2021/11/08/will-pre-pandemic-behaviour-ever-return

I think it could even be incorporated the main summary plot as % change from peak. it would have to be inverted so not sure how to label that.

% of social distancing peak? % of peak non-mobility?

image

Screen Shot 2021-11-22 at 1 56 43 pm

May be better to just use time spent at home % peak since thats already positive measure?

Screen Shot 2021-11-22 at 2 00 45 pm

@djay djay added pandas involves cleaning data, or creating new plots from data enhancement New feature or request good first issue Good for newcomers labels Nov 24, 2021
@djay
Copy link
Owner Author

djay commented Nov 28, 2021

@chrisadas I think it would be cool to add this in too.
Screen Shot 2021-11-28 at 5 29 31 pm

So we can see the gov laws vs individual choices

@chrisadas
Copy link
Contributor

@djay I can download the data manually, and it has daily index that can be used.

But it doesn't seem to have static URL to get the download in a repeatable manner. I have zero scraping skill. If someone can do that part, I'll be happy to incorporate.

@djay
Copy link
Owner Author

djay commented Nov 29, 2021

@chrisadas yes I can get that done

@djay
Copy link
Owner Author

djay commented Nov 29, 2021

@chrisadas isn't it just this url? https://covid.ourworldindata.org/data/owid-covid-data.csv.
https://github.com/owid/covid-19-data/tree/master/public/data/

So you can do exactly the same as what you did the other one.

I may need to optimise it later so it only downloads its once per day but that can be done seperatly.

@djay
Copy link
Owner Author

djay commented Dec 12, 2021

@chrisadas want to have a go?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers pandas involves cleaning data, or creating new plots from data
Projects
None yet
Development

No branches or pull requests

2 participants