Difference between revisions of "Template:Inflation/US/dataset"

From blackwiki
Jump to navigation Jump to search
blackwiki>Rich Farmbrough
(Update 2017 figure)
blackwiki>Jonesey95
(update per source (currently an estimate, but people have added 2018 to templates instead of reading the documentation, it appears, so this is an easier fix))
Line 217: Line 217:
 
| 2015 = 712.3
 
| 2015 = 712.3
 
| 2016 = 721.2
 
| 2016 = 721.2
| 2017 |#default = 736.6
+
| 2017 = 736.6
 +
| 2018 |#default = 752.9
 
<!-- *** When changing this, also update the reference in [[Template:Inflation-fn]] and the latest year in [[Template:Inflation-year]]! *** -->
 
<!-- *** When changing this, also update the reference in [[Template:Inflation-fn]] and the latest year in [[Template:Inflation-year]]! *** -->
 
}}<noinclude>{{documentation|Template:Inflation/doc/cpi}}[[Category:Data templates|United States Inflation]]</noinclude>
 
}}<noinclude>{{documentation|Template:Inflation/doc/cpi}}[[Category:Data templates|United States Inflation]]</noinclude>

Revision as of 13:07, 3 January 2019

752.9

Template documentation[view] [edit] [history] [purge]

This sub-template returns the associated country's CPI for a specific year. It is used by {{Inflation/US}} 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 (estimate) 1800–, Federal Reserve Bank of Minneapolis.

Usage

{{Inflation/US/dataset|year}}

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

See also