Difference between revisions of "Template:Inflation/CA/dataset/doc"

From blackwiki
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:
[http://www.bankofcanada.ca/en/cpi.html Consumer Price Index, 1995 to present], [http://www.statcan.gc.ca/subjects-sujets/cpi-ipc/t101123a3-eng.htm Statistics Canada latest release] and [http://www40.statcan.gc.ca/l01/cst01/econ46a-eng.htm Statistics Canada historical CPI summary].
+
* {{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 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