Template:Inflation/doc/cpi-in

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 sources for this dataset are Prices and Wages in India, 1595-1930 for 1595 to 1872, Nominal Wage, Cost of Living and Real Wage Data for India 1873-1939 and Land Prices for the Punjab 1871-1939 for 1873 to 1919, Inflation 1800-2000 from 1920 to 1953, and Historic inflation India - CPI inflation from 1954 to 2023.

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