Template:Inflation/CA/dataset/doc

From MOASSpedia
< Template:Inflation‎ | CA‎ | dataset
Revision as of 18:54, 19 May 2021 by Wikipedia>Zoozaz1 (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This sub-template returns the associated country's CPI for a specific year. It's used by {{Inflation/CA/dataset}} 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) "Consumer Price Index, annual average, not seasonally adjusted". Statistics Canada. Retrieved April 17, 2021.
  • and table 18-10-0004-13 "Consumer Price Index by product group, monthly, percentage change, not seasonally adjusted, Canada, provinces, Whitehorse, Yellowknife and Iqaluit". Statistics Canada. Retrieved April 17, 2021.

Usage

{{Inflation/CA/dataset/doc|year}}

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

See also