Employment, salary and firm data from IBGE’s Cadastro Central de Empresas (CEMPRE). This comprehensive dataset provides information on companies and other organizations registered with Brazil’s tax authority (Receita Federal), including employment levels, wage information, and business establishment data across Brazilian municipalities and sectors.
The CEMPRE dataset is one of the most detailed sources of firm-level data in Brazil, covering virtually all formal enterprises and organizations operating in the country.
The CEMPRE dataset includes:
A break between 2021 and 2022. IBGE publishes CEMPRE
in two SIDRA tables with the same structure: table 6449 for 2006 to
2021, which it has closed, and table 9418 for 2022 onwards.
load_cempre() reads each year from the table that has it,
but the two do not join up: Brazil’s number of companies and other
organizations goes from 5.75 million in 2021 to 9.43 million in 2022,
and the number of people employed from 55.3 to 62.7 million. A
comparison across 2021 and 2022 is a comparison across two different
series.
Options:
dataset: "cempre"
raw_data:
TRUE: Returns the data in its original format from
IBGEFALSE: Returns cleaned and standardized datageo_level:
"country": National aggregate"state": Aggregated by state"municipality": Disaggregated to municipality level
(detailed results)time_period: Specifies the years for which data
will be downloaded (e.g., 2010:2020 for 2010 through
2020)
language:
"pt": Portuguese language (variable names and
labels)"eng": English languagesectors:
TRUE: Data is returned separated and disaggregated by
economic sector (CNAE)FALSE: Data is aggregated across all sectors
# download raw data at the country level from 2008 to 2010
data <- load_cempre(
raw_data = TRUE,
geo_level = "country",
time_period = 2008:2010,
language = "eng"
)
# download treated state-level data split by sector in portuguese
data <- load_cempre(
raw_data = FALSE,
geo_level = "state",
time_period = 2008:2010,
language = "pt",
sectors = TRUE
)