API Access
Access dataset files directly from scripts, code, or AI agents.
Browse dataset files
API Access
Access dataset files directly from scripts, code, or AI agents.
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
Start with these files — they give you everything you need to understand and access the dataset.
- 1. Fetch .datahub/datapackage.json to inspect schema and resources
- 2. Download data resources listed in .datahub/datapackage.json
- 3. Read README.md for full context
Data Files
Explore with AIpopulation-estimates
| Field | Type | Format |
|---|---|---|
| Region | string | default |
| Country Code | string | default |
| Year | string | default |
| Population | string | default |
Download
Download CSVAbout
- Last updated
- 9 February 2026
- Total rows
- ...
- Format
- CSV
- File size
- 583 kB
population-low-fertility
| Field | Type | Format |
|---|---|---|
| Region | string | default |
| Country Code | string | default |
| Year | string | default |
| Population | string | default |
Download
Download CSVAbout
- Last updated
- 9 February 2026
- Total rows
- ...
- Format
- CSV
- File size
- 761 kB
population-medium-fertility
| Field | Type | Format |
|---|---|---|
| Region | string | default |
| Country Code | string | default |
| Year | string | default |
| Population | string | default |
Download
Download CSVAbout
- Last updated
- 9 February 2026
- Total rows
- ...
- Format
- CSV
- File size
- 763 kB
population-high-fertility
| Field | Type | Format |
|---|---|---|
| Region | string | default |
| Country Code | string | default |
| Year | string | default |
| Population | string | default |
Download
Download CSVAbout
- Last updated
- 9 February 2026
- Total rows
- ...
- Format
- CSV
- File size
- 764 kB
population-constant-fertility
| Field | Type | Format |
|---|---|---|
| Region | string | default |
| Country Code | string | default |
| Year | string | default |
| Population | string | default |
Download
Download CSVAbout
- Last updated
- 9 February 2026
- Total rows
- ...
- Format
- CSV
- File size
- 764 kB
About this dataset
Total Population - Both Sexes. De facto population in a country, area or region as of 1 July of the year indicated. Figures are presented in thousands.
Data
Data comes from United Nations' Population Division datasets. Total population (both sexes combined) by region, subregion and country, annually for 1950-2100 (thousands). Data is cleaned, normalized, "un-pivoted", and represented in nice machine readable way in CSV format. Dataset represented here has several resources:
- Estimates from 1950 - 2015. Original
- Medium fertility variant, 2015 - 2100
- High fertility variant, 2015 - 2100
- Low fertility variant, 2015 - 2100
- Constant fertility variant, 2015 - 2100
- Instant replacement fertility variant, 2015 - 2100
- Momentum fertility variant, 2015 - 2100
- Zero Migration variant, 2015 - 2100
- Constant Mortality variant, 2015 - 2100
Preparation
You will need Python 3.6 or greater and dataflows library to run the script
To update the data run the process script locally:
# Install dataflows
pip install dataflows
# Run the script
python population_estimates.py
Several steps will be done to get the final data.
Licence
United Nations, Department of Economic and Social Affairs, Population Division (2017). World Population Prospects: The 2017 Revision, DVD Edition.