read_caged: Reads CAGED data from txt file

Description Usage Arguments Value Examples

View source: R/read.R

Description

Uses read_delim() to read a flat file containing monthly data from CAGED, as provided by the Brazilian Ministry of Labor.

Usage

1
read_caged(txt_file, pretty = TRUE, ...)

Arguments

txt_file

Character string indicating the txt file path.

pretty

Logical. If TRUE, uses well formatted column names instead of those from the txt file.

...

Additional arguments to read_delim.

Value

A dataframe with data from the txt file.

Examples

1
2
3
4
## Not run: 
caged_out2018 <- read_caged('CAGEDEST_102018.txt')

## End(Not run)

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