An open API service indexing awesome lists of open source software.

https://github.com/datasets/cpi

Annual consumer price index datapackage for most countries in the world
https://github.com/datasets/cpi

Last synced: about 1 year ago
JSON representation

Annual consumer price index datapackage for most countries in the world

Awesome Lists containing this project

README

          

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](http://data.worldbank.org/indicator/FP.CPI.TOTL) 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)](https://api.worldbank.org/v2/en/indicator/FP.CPI.TOTL.ZG?downloadformat=csv).

## Preparation

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

```bash
# 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/