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).
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).
It is parsed via the script cpi2datapackage.py, located in scripts.
# Process cpi2datapackage.py
python cpi2datapackage.py
Up-to-date (auto-updates every month) cpi dataset could be found on the datahub.io: https://datahub.io/core/cpi
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/