Template:Inflation/doc/cpi-id

This sub-template returns the associated country's CPI for a specific year. It's used by undefined for calculating the inflation rate between two given years, which in turn is used by Inflation to calculate inflated values. It usually isn't meant to be called directly. The information in this dataset is input from Nominal Wage, Cost of Living and Real Wage Data for Indonesia Java 1820-1940, Outer Provinces 1878-1939 for 1820 to 1919 and Inflation 1800-2000 for 1920 to 2007.

Usage
Providing no parameter or providing an invalid parameter will result in the "default" CPI, what usually means the latest one.