load_pibmunic.Rd
Loads information on gross domestic product at current prices, taxes, net of subsidies, on products at current prices and gross value added at current prices, total and by economic activity, and respective shares.
load_pibmunic(
dataset = "pibmunic",
raw_data = FALSE,
geo_level,
time_period,
language = "eng"
)
A dataset name ("pibmunic") with Municipal GDP information. You can also use SIDRA codes (See https://sidra.ibge.gov.br/pesquisa/pib-munic/tabelas)
A boolean
setting the return of raw (TRUE
) or processed (FALSE
) data.
A string
that defines the geographic level of the data. Can be one of "country", "state" or "municipality".
A numeric
indicating for which years the data will be loaded, in the format YYYY. Can be any vector of numbers, such as 2010:2012.
A string
that indicates in which language the data will be returned. Portuguese ("pt") and English ("eng") are supported.
A tibble
.
if (FALSE) {
# download treated municipal GDP data at the state level for 2010 to 2012
data <- load_pibmunic(
raw_data = FALSE,
geo_level = "state",
time_period = 2010:2012
)
}