Published

Annual inflation by GDP deflator and consumer prices

10.5K
1.4K

Inflation, GDP deflator (annual %) and Inflation, consumer prices (annual %) for most countries in the world when it has been measured. The data comes from The World Bank (CPI), The World Bank (GD...

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/inflation/
https://datahub.io/core/inflation/_r/-/Makefile
https://datahub.io/core/inflation/_r/-/README.md
https://datahub.io/core/inflation/_r/-/archive/FP.CPI.TOTL.ZG.csv
https://datahub.io/core/inflation/_r/-/archive/NY.GDP.DEFL.KD.ZG.csv
https://datahub.io/core/inflation/_r/-/data/inflation-consumer.csv
https://datahub.io/core/inflation/_r/-/data/inflation-gdp.csv
https://datahub.io/core/inflation/_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/inflation/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/core/inflation/_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

inflation-gdp

Loading data...

Schema

nametype
Countrystring
Country Codestring
Yearyear
Inflationnumber

inflation-consumer

Loading data...

Schema

nametype
Countrystring
Country Codestring
Yearyear
Inflationnumber

Data Files

FileDescriptionSizeLast modifiedDownload
inflation-gdp
449 kB26 days ago
inflation-gdp
inflation-consumer
556 kB26 days ago
inflation-consumer
FilesSizeFormatCreatedUpdatedLicenseSource
21.01 MB8 months agoOpen Data Commons Public Domain Dedication and License v1.0The World Bank

badge

Inflation, GDP deflator (annual %) and Inflation, consumer prices (annual %) for most countries in the world when it has been measured.

Data

The data comes from The World Bank (CPI), The World Bank (GDP) and is collected from 1973 to 2014. 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) (CPI), The World Bank's API (with csv as the requested format) (GDP).

Preparation

Usage of process.py

Convert World Bank Inflation data into a data package resource.

Requirements

  • Python 3 required.

Processing

Run the following to download and process data:

make data

Automation

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

License

This Data Package is licensed by its maintainers under the Public Domain Dedication and License (PDDL).