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

From blackwiki
Jump to navigation Jump to search
imported>Alaney2k
(update listing of sources)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
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=https://www150.statcan.gc.ca/t1/tbl1/en/cv.action?pid=1810000501#timeframe |title=Consumer Price Index, annual average, not seasonally adjusted |accessdate=March 6, 2019}}
* {{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=https://www150.statcan.gc.ca/t1/tbl1/en/cv.action?pid=1810000413#timeframe |title=Consumer Price Index by product group, monthly, percentage change, not seasonally adjusted, Canada, provinces, Whitehorse, Yellowknife and Iqaluit |accessdate=March 6, 2019}}
* {{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 ===
Line 16: Line 15:
 
* {{tl|{{BASEPAGENAME}}}}
 
* {{tl|{{BASEPAGENAME}}}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Economics formatting and function templates|{{PAGENAME}}]]
 
[[Category:Economics formatting and function templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 17:35, 25 April 2020

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, annual average, not seasonally adjusted". Statistics Canada. Retrieved March 6, 2019.
  • "Consumer Price Index by product group, monthly, percentage change, not seasonally adjusted, Canada, provinces, Whitehorse, Yellowknife and Iqaluit". Statistics Canada. Retrieved March 6, 2019.

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