Template:Inflation/doc/cpi-zar

This sub-template returns the associated country's CPI for a specific year. It's used by undefined 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 OECD data files using their data via FRED from 2015, https://link.springer.com/content/pdf/10.1007/s11698-021-00235-4.pdf from 1913-2014, and Clio Infra: Inflation from 1652-1912.

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