Template:Inflation/doc/cpi-es

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

This sub-template returns the associated country's CPI for a specific year. It's 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 sources for this dataset are The Rise and Fall of Spain (1270–1850) for 1276 to 1850 and Measuring Worth, What Was Spain's GDP Then?, Consumer Price Index from 1851 to 2019.

Usage

{{Inflation/doc/cpi-es|year}}

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

See also