Difference between revisions of "Template:Inflation/CA/dataset/doc"
< Template:Inflation | CA | dataset
Jump to navigation
Jump to search
imported>Alaney2k (add Bank of Canada to note -- Stats Can has not updated site) |
imported>Alaney2k (update listing of sources) |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
| − | This sub-template returns the associated country's [[Consumer price index|CPI]] for a specific year. It's used by {{tl|{{BASEPAGENAME}}}} for calculating the inflation rate between two given years, which in turn is used by {{tl|Inflation}} to calculate inflated values. It usually isn't meant to be called directly. The information in this dataset is manually input from | + | This sub-template returns the associated country's [[Consumer price index|CPI]] for a specific year. It's used by {{tl|{{BASEPAGENAME}}}} for calculating the inflation rate between two given years, which in turn is used by {{tl|Inflation}} to calculate inflated values. It usually isn't meant to be called directly. The information in this dataset is manually input from: |
| − | + | * {{cite web |publisher=Bank of Canada |url=http://www.bankofcanada.ca/en/cpi.html |title=Consumer Price Index, 1995 to present}} | |
| + | * {{cite web |publisher=Statistics Canada |url=http://www40.statcan.gc.ca/l01/cst01/econ46a-eng.htm |title=Statistics Canada historical CPI summary}} | ||
| + | * {{cite web |publisher=Statistics Canada |url=http://www.statcan.gc.ca/tables-tableaux/sum-som/l01/cst01/cpis01a-eng.htm |title=Consumer Price Index, by province (monthly) (Canada) }} | ||
=== Usage === | === Usage === | ||
Revision as of 15:36, 26 April 2018
| This is a documentation subpage for Template:Inflation/CA/dataset. It contains usage information, categories and other content that is not part of the original template page. |
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:
- "Consumer Price Index, 1995 to present". Bank of Canada.
- "Statistics Canada historical CPI summary". Statistics Canada.
- "Consumer Price Index, by province (monthly) (Canada)". Statistics Canada.
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
- {{Inflation}}
- {{Inflation/CA/dataset}}