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

Population data with cumulative values #179

Open
lisphilar opened this issue Sep 2, 2022 · 8 comments
Open

Population data with cumulative values #179

lisphilar opened this issue Sep 2, 2022 · 8 comments
Labels
enhancement New feature or request

Comments

@lisphilar
Copy link

Population data is required to estimate the impact of the number of cases at the selected location, and to analyze the number of cases with SIR-derived math models. This is related to #178.

So, it will be great to provide population data of each country/city or document how to get population data.

@lisphilar lisphilar changed the title Provide population data with cumulative values Population data with cumulative values Sep 2, 2022
@jim-sheldon
Copy link
Collaborator

We can certainly include retrieving population data as part of automated script(s). There are external APIs and databases we can pull from.

@jim-sheldon
Copy link
Collaborator

OWID also provides population data as a supplement to ours: https://ourworldindata.org/monkeypox

@lisphilar
Copy link
Author

lisphilar commented Sep 3, 2022

Yes. Population values used by OWID is saved here and the primary source (CC BY 3.0 IGO) is as follows.
https://population.un.org/wpp/Download/Standard/CSV/

Or, we can get total values from "The Word Bank Data".
https://data.worldbank.org/indicator/SP.POP.TOTL

@lisphilar
Copy link
Author

lisphilar commented Sep 3, 2022

OWID and "The Word Bank Data" use values in 2021.
We can get estimted total value of each country in 2022 using WPP2022_TotalPopulationBySex.csv
https://population.un.org/wpp/Download/Standard/CSV/

image

Note it will be difficult to get population values at city level.

@jim-sheldon
Copy link
Collaborator

jim-sheldon commented Sep 6, 2022

The United Nations provides city-level population data, though it is not immediately clear whether they use ISO-3166.

@abhidg abhidg added the enhancement New feature or request label Sep 15, 2022
@oliszymanski
Copy link

oliszymanski commented Sep 21, 2022

How about worldometers?
https://www.worldometers.info/world-population/

It even provides more data

@lisphilar
Copy link
Author

@jim-sheldon and @oliszymanski
Thank you for your comments!

Worldometers says the primary source regarding country-level data is World Popularation Prospects 2022 by UN.

City-level data is also available and can be scraped. I could not find useful APIs and URLs of primary sources.
https://www.worldometers.info/world-population/poland-population/

At this time, city-level confirmed cases data is not included in "Timeseries" and "Timeseries by country" of this repository.
As the first step of this issue, is it possible to add only country-level population values to "Timeseries by country" file?

@jim-sheldon
Copy link
Collaborator

I support this. Created #217 to capture the work.

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

No branches or pull requests

4 participants