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

From blackwiki
Jump to navigation Jump to search
blackwiki>DannyS712
m (subcategorize in Category:United States data templates, per edit request)
blackwiki>Cabayi
Line 218: Line 218:
 
| 2016 = 721.2
 
| 2016 = 721.2
 
| 2017 = 736.6
 
| 2017 = 736.6
| 2018 |#default = 752.9
+
| 2018 = 754.6
<!-- *** When changing this, also update the reference in [[Template:Inflation-fn]] and the latest year in [[Template:Inflation-year]]! *** -->
+
| 2019 |#default = 768.3 <!-- *** 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:United States data templates|United States Inflation]]</noinclude>
 
}}<noinclude>{{documentation|Template:Inflation/doc/cpi}}[[Category:United States data templates|United States Inflation]]</noinclude>

Revision as of 11:30, 1 January 2020

768.3

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