load_cempre {datazoom.amazonia}R Documentation

CEMPRE - Central Register of Companies

Description

Loads information on companies and other organizations and their respective formally constituted local units, registered with the CNPJ - National Register of Legal Entities. Data is available from 2006 to 2019. See https://sidra.ibge.gov.br/pesquisa/cempre/tabelas

Usage

load_cempre(
  dataset = "cempre",
  raw_data,
  geo_level,
  time_period,
  language = "eng",
  sectors = FALSE,
  legal_amazon_only = FALSE
)

Arguments

dataset

A dataset name ("cempre").

raw_data

A boolean setting the return of raw (TRUE) or processed (FALSE) data.

geo_level

A string that defines the geographic level of the data. Can be one of "country", "state" or "municipality". See documentation of sidrar.

time_period

A numeric indicating what years will the data be loaded in the format YYYY. Can be a sequence of numbers such as 2010:2012.

language

A string that indicates in which language the data will be returned. Currently, only Portuguese ("pt") and English ("eng") are supported. Defaults to "eng".

sectors

A boolean that defines if the data will be return separated by sectors (TRUE) or not (FALSE). Defaults to FALSE

legal_amazon_only

A boolean setting the return of Legal Amazon Data (TRUE) or Country's Data (FALSE). Defaults to FALSE

Value

A tibble with the selected data.

Examples

## Not run: 
# download raw data from 2006 to 2019
raw_cempre_all <- load_cempre(
  dataset = "cempre",
  raw_data = TRUE,
  geo_level = "municipality",
  time_period = 2006:2019
)

## End(Not run)


[Package datazoom.amazonia version 0.3.0 Index]