7

Data request

Data: I am looking for an API oder dataset where I can find age distribution (age groups: percentage of an age group according to the population) and gender distributions for each country of the world. Something like this: Zensus Germany

Context: I am working on my Master's Thesis and would like to compare my scientific samples to the population.

Region: I need Data from the whole world.

License: Unfortunately I am a Student and can't spend more that 50 Euro on this data.

Format: A JSON API would be perfect. XML, CSV, XLSX or any other common data type is ok too.

Authority: I need the data to be reliable. That means, the sources of the data have to be visible and official.

Non-answers: I have tried:

  • Open Data Network
  • World Bank
  • U.S. Census Bureau
3

I think geoba.se might interest you, although I'm not sure how reliable their sources are.

Unfortunately, geoba.se doesn't have an API, but you could try to scrape the data yourself using code like the one found on this answer.

When I have more time, I'll update this answer with a bit of code.

  • That site just has the population. But the population is not separated in age groups. As I said, I need it to be like an age distribution. And the statistics of the site are wrong. – Pedram Shahlaifar Feb 28 '17 at 22:23
  • If you access ecah country's page on that website you can see the population distribution between age groups and genders. – leite0407 Mar 1 '17 at 0:54
  • Check the U.S. page on that website for example. – leite0407 Mar 1 '17 at 1:04
  • Now I see what you are talking about. When I searched the site, I did not find that particular page. Perfect thanks a lot. I think I can adjust the wrong population numbers with a ML algorithm. – Pedram Shahlaifar Mar 1 '17 at 6:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.