Published

City Population Annual Timeseries (UN Statistics Division)

1.6K
490

City population yearly timeseries for female and male, and for both sexes, collected by the United Nations Statistics Division and published by UNData in 22 Dec 2014 Next update in UNdata: Jun 2015 (est.) Periodicity: biannual. Contains two datasets in CSV format: unsd-citypopulation-year-both.csv Size: 2.4 MB unsd-citypopulation-year-fm.csv File size: 3.7 MB Final 222 lines in both datasets contain original notes.

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

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.

/core/population-city/
https://datahub.io/core/population-city/_r/-/.gitignore
https://datahub.io/core/population-city/_r/-/README.md
https://datahub.io/core/population-city/_r/-/UPDATE_SCRIPT_MAINTENANCE_REPORT.md
https://datahub.io/core/population-city/_r/-/data/unsd-citypopulation-year-both.csv
https://datahub.io/core/population-city/_r/-/data/unsd-citypopulation-year-fm.csv
https://datahub.io/core/population-city/_r/-/datapackage.json
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

datapackage.jsonmetadata & schema
https://datahub.io/core/population-city/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/core/population-city/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in datapackage.json
  3. 3. Read README.md for full context

Data Previews

unsd-citypopulation-year-both

Loading data...

Schema

nametype
Country or Areastring
Yearstring
Areastring
Sexstring
Citystring
City typestring
Record Typestring
Reliabilitystring
Source Yearstring
Valuestring
Value Footnotesstring

unsd-citypopulation-year-fm

Loading data...

Schema

nametype
Country or Areastring
Yearstring
Areastring
Sexstring
Citystring
City typestring
Record Typestring
Reliabilitystring
Source Yearstring
Valuestring
Value Footnotesstring

Data Files

FileDescriptionSizeLast modifiedDownload
unsd-citypopulation-year-both
4.55 MB1 day ago
unsd-citypopulation-year-both
unsd-citypopulation-year-fm
7.13 MB1 day ago
unsd-citypopulation-year-fm
FilesSizeFormatCreatedUpdatedLicenseSource
211.7 MBcsv1 day agoOpen Data Commons Public Domain Dedication and License v1.0UNData: UNSD Demographic Statistics

badge

UNSD Demographic Statistics: City population by sex, city and city type.

Data

Source: UNData. UNSD Demographic Statistics.

Contains two CSV datasets:

  1. unsd-citypopulation-year-both.csv. Size: 4.4 MB
  2. unsd-citypopulation-year-fm.csv. Size: 6.8 MB

Final 222 lines in both datasets contain original notes.

Updates

Last update in UNdata: 26 Feb 2026

Next update in UNdata: 31 Aug 2026

About the United Nations Statistics Division

The United Nations Statistics Division collects, compiles and disseminates official demographic and social statistics on a wide range of topics. Data have been collected since 1948 through a set of questionnaires dispatched annually to over 230 national statistical offices and have been published in the Demographic Yearbook collection. The Demographic Yearbook disseminates statistics on population size and composition, births, deaths, marriage and divorce, as well as respective rates, on an annual basis. The Demographic Yearbook census datasets cover a wide range of additional topics including economic activity, educational attainment, household characteristics, housing characteristics, ethnicity, language, foreign-born and foreign population. The available Population and Housing Censuses' datasets reported to UNSD for the censuses conducted worldwide since 1995, are now available in UNdata.

Preparation

Run the requirements through pip in order to install all required packages to run the script.

pip install -r scripts/requirements.txt

The process is recorded and automated in a Python script:

scripts/process.py

Automation

Up-to-date (auto-updates each 2 month) population-city dataset could be found on the datahub.io: https://datahub.io/core/population-city

License

This data package is licensed under a ODC Public Domain Dedication and Licence (PDDL).