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

From blackwiki
Jump to navigation Jump to search
imported>Alaney2k
(update references)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 15: 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