join_municipios_sp: Adds municipality-level data to a dataframe containing CAGED...

Description Usage Arguments Details Value Examples

View source: R/prepare.R

Description

Includes new variables with data regarding cities from the State of Sao Paulo. New data comes from dataset municipios_sp, and includes:

Usage

1

Arguments

df

A dataframe. It must contain a numeric column codigo_municipio, with the 6-digit city code.

Details

This function supports cities from the State of Sao Paulo only. Thus, it is recommended to filter the input dataframe beforehand.

Value

A dataframe with additional columns.

Examples

1
2
3
4
5
## Not run: 
read_caged() %>%
  join_dados_municipios()

## End(Not run)

andremenegatti/cagedExplorer documentation built on July 1, 2020, 1:25 a.m.