Template:Inflation/US/dataset/doc

This sub-template returns the associated country's Consumer price index 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 manually input from Consumer Price Index (estimate) 1800–2014, Federal Reserve Bank of Minneapolis.

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