API AccessAccess dataset files directly from scripts, code, or AI agents.
Browse dataset files
Access dataset files directly from scripts, code, or AI agents.
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.json— metadata & schema
https://datahub.io/core/population-city/_r/-/datapackage.json
README.md— documentation
https://datahub.io/core/population-city/_r/-/README.md
Typical Usage
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Previews
unsd-citypopulation-year-both
Loading data...
Schema
| name | type |
|---|---|
| Country or Area | string |
| Year | string |
| Area | string |
| Sex | string |
| City | string |
| City type | string |
| Record Type | string |
| Reliability | string |
| Source Year | string |
| Value | string |
| Value Footnotes | string |
unsd-citypopulation-year-fm
Loading data...
Schema
| name | type |
|---|---|
| Country or Area | string |
| Year | string |
| Area | string |
| Sex | string |
| City | string |
| City type | string |
| Record Type | string |
| Reliability | string |
| Source Year | string |
| Value | string |
| Value Footnotes | string |
Data Files
| File | Description | Size | Last modified | Download |
|---|---|---|---|---|
unsd-citypopulation-year-both | 4.55 MB | about 2 months ago | unsd-citypopulation-year-both | |
unsd-citypopulation-year-fm | 7.13 MB | about 2 months ago | unsd-citypopulation-year-fm |
| Files | Size | Format | Created | Updated | License | Source |
|---|---|---|---|---|---|---|
| 2 | 11.7 MB | csv | about 2 months ago | Open Data Commons Public Domain Dedication and License v1.0 | UNData: UNSD Demographic Statistics |
Update Script Maintenance Report
Date: 2026-03-04
- Root cause: automation used broad triggers and had no explicit workflow write permissions.
- Fixes made: narrowed workflow to schedule + manual dispatch, upgraded action versions, added
permissions: contents: write, and preserved commit paths for generated files. - Validation: reviewed workflow run sequence and staged-file scope (
data,datapackage.json,README.md). - Known blockers: none identified in this remediation pass.