Downloads the monthly percentage change (variable 63) and the monthly weight
(variable 66) of every IPCA component (headline, groups, subgroups, items and
sub-items) from IBGE's SIDRA API. Table 1419 covers the weighting structure in
force from January 2012 to December 2019 (POF 2008-2009) and table 7060 the
structure in force since January 2020 (POF 2017-2018). Fetching both tables is
needed for cores that use a price history (core_ms() and core_dp()).
Usage
get_ipca(table = c(1419, 7060), period = "all", unite = TRUE)Author
Fernando da Silva <fernando@fortietwo.com>