Template:Inflation/doc/cpi-br

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 sources for this dataset are O PIB brasileiro nos séculos XIX e XX: duzentos anos de flutuações econômicas for 1820 to 1911, Inflation 1800-2000 for 1912 to 2020.

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