Skip to content
/ cpi Public
forked from datasets/cpi

Annual consumer price index datapackage for most countries in the world

Notifications You must be signed in to change notification settings

brianaj/cpi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CPI datapackage

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).

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

Usage of cpi2datapackage.py

usage: cpi2datapackage.py [-h] [-o filename] [source]

convert WorldBank CPI data to a data package resource

positional arguments:
  source                source file to generate output from

optional arguments:
  -h, --help            show this help message and exit
  -o filename, --output filename
                        define output filename

About

Annual consumer price index datapackage for most countries in the world

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published