Population-Density: Only list countries for download where data is available
See original GitHub issueSo far, we have listed all countries using the i18n-iso-countries
npm package. However, there is no data available for some countries, e.g., due to bad satellite imagery. Facebook constantly improves its approach and data so that they might add new countries in the future. Therefore, we should use the AWS CLI to only list countries where data is available to avoid an error during the processing.
The command for that is:
aws s3 ls --no-sign-request s3://dataforgood-fb-data/csv/month=2019-06/
This has to adapt to the month
partition dynamically.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Population density (people per sq. km of land area) | Data
All Countries and Economies ; Afghanistan · 60 ; Albania · 104 ; Algeria · 18 ; American Samoa · 231 ; Andorra...
Read more >Comparison of the global population density - Worlddata.info
Rank Country Area Population Population per km²
1 Macao * 30 km² 0.69 M 22,585.8
2 Monaco 2.0 km² 0.04 M 18,161.4
3 Singapore 719 km²...
Read more >World Cities Database - Simplemaps.com
Free and commercial world cities databases. Includes latitude, longitude, province, country and more. CSV, Excel, SQL formats.
Read more >CSV format - Population Division | - the United Nations
Use the LocID, VarID and MidPeriod columns to link the data accross the different files, if necessary. Folder, Major Group, Sub Group, Files...
Read more >Data types - WorldPop
Bespoke methods used to produce datasets for specific individual countries are available through the WorldPop Open Population Repository (WOPR) link below.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @mattigrthr! Have you thought about an option to user Kontur poulation grid instead? It contains GHSL and more and it is already aggregated to H3 grids.
Link to the data: https://data.humdata.org/dataset/kontur-population-dataset
This issue has been resolved by switching the file download to the
hdx
Python package. The file downloader can be found inkuwala/common/python_utils/src/FileSelector.py
.