Template:Inflation/doc/cpi-ca
Jump to navigation
Jump to search
This sub-template returns the associated country's CPI for a specific year. It's used by {{Inflation/doc}} 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:
- Inflation numbers from 1688 to 1923 are from A Price Index for Canada, 1688 to 1850
- Canadian inflation numbers based on Statistics Canada tables 18-10-0005-01 (formerly CANSIM 326-0021) Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- and table 18-10-0004-13 Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
Usage
[edit source]{{Inflation/doc/cpi-ca|year}}
Providing no parameter or providing an invalid parameter will result in the "default" CPI, what usually means the latest one.
See also
[edit source]- {{Inflation}}
- {{Inflation/doc}}