Annual Consumer Price Index (CPI)

Annual Consumer Price Index (CPI) for most countries in the world. Reference year is 2005.

Report an issue
Downloads
4,148
Last updated
Data file
1
Size
449 kB
Format
csv
badge

Annual Consumer Price Index (CPI) for most countries in the world when it has been measured. The reference year is 2005 (meaning the value of CPI for all countries is 100 and all other CPI values are relative to that year).

Data

The data comes from The World Bank and is collected from 1960 to 2011. There are some values missing from data so users of the data will have to guess what should be in the empty slots.

The actual download happens via The World Bank's API (with csv as the requested format).

Preparation

It is parsed via the script cpi2datapackage.py, located in scripts.

# Process cpi2datapackage.py
python cpi2datapackage.py

Automation

Up-to-date (auto-updates every month) cpi dataset could be found on the datahub.io: https://datahub.io/core/cpi

License

This Data Package is made available under the Public Domain Dedication and License v1.0 whose full text can be found at: http://www.opendatacommons.org/licenses/pddl/1.0/

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.

  1. Fetch datapackage.json to inspect schema and resources
  2. Download data resources listed in datapackage.json
  3. Read README.md for full context
/core/cpi/5 files
  • .gitignorehttps://datahub.io/core/cpi/_r/-/.gitignore
  • LICENSEhttps://datahub.io/core/cpi/_r/-/LICENSE
  • README.mddocumentationhttps://datahub.io/core/cpi/_r/-/README.md
  • data/cpi.csvhttps://datahub.io/core/cpi/_r/-/data/cpi.csv
  • datapackage.jsonmetadata & schemahttps://datahub.io/core/cpi/_r/-/datapackage.json