Template:Inflation/doc/cpi-pe

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 source for this dataset is Prices and wages in Argentina, Bolivia, Chile, Colombia, Mexico and Peru for 1564-1824, Despegue frustrado: costo de vida y estándares de vida en el Perú durante el siglo XIX for 1825 to 1900, and La Historia Monetaria y Fiscal de Peru, 1960-2017: Experimentos Radicales de Politica, Inflacion y Estabilizacion for 1901 to 2017.

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