Skip to main content


Inflation is measured in terms of the annual growth rate and in index, 2015 base year with a breakdown for food, energy and total excluding food and energy. Inflation measures the erosion of living standards


ccpi [-c COUNTRIES] [-p {ENRG,FOOD,TOT,TOT_FOODENRG}] [--frequency {M,Q,A}] [-u {AGRWTH,IDX2015}] [-s START_DATE] [-e END_DATE]


countries-c --countriesWhat countries you'd like to collect data forunited_statesTrueNone
perspective-p --perspectivePerspective of CPI you wish to obtain. This can be ENRG (energy), FOOD (food), TOT (total) or TOT_FOODENRG (total excluding food and energy)TOTTrueENRG, FOOD, TOT, TOT_FOODENRG
frequency--frequencyWhat frequency you'd like to collect data forMTrueM, Q, A
units-u --unitsUnits to get data in. Either 'AGRWTH' (annual growth rate) or IDX2015 (base = 2015). Default is Annual Growth Rate (AGRWTH).AGRWTHTrueAGRWTH, IDX2015
start_date-s --startStarting date (YYYY-MM-DD) of data2018-05-16TrueNone
end_date-e --endEnding date (YYYY-MM-DD) of data2023-05-16TrueNone

On this page