Template:Inflation/doc/cpi

From Ava Zinn Wiki
< Template:Inflation‎ | doc
Revision as of 09:15, 23 October 2022 by Aeverinezinn (talk | contribs) (Created page with "{{documentation subpage}} This sub-template returns the associated country's CPI for a specific year. It is used by {{tl|{{BASEPAGENAME}}}} for calcul...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This sub-template returns the associated country's CPI for a specific year. It is used by {{Inflation/doc}} 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 Inflation and Deflation in Early America, 1634-1860: Patterns of Change in the British American Economy from 1634 to 1699, How Much Is That in Real Money? A Historical Price Index for Use as a Deflator of Money Values in the Economy of the United States from 1700-1799, and Consumer Price Index (estimate) 1800–, Federal Reserve Bank of Minneapolis.

Usage[edit]

{{Inflation/doc/cpi|year}}

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

See also[edit]