download_viagens: Download Viagens

Description Usage Arguments Value Examples

View source: R/download_data.R

Description

Download Viagens

Usage

1

Arguments

year

integer between 2013 and 2019

interactive

a boolean. If TRUE, then file will be ignored.

file

Which file do you want to access? The options are: 1 for Pagamento, 2 for Passagem, 3 for Trecho, 4 for Viagem or 5 for a merged file using all these information. This parameter will only be used if interactive = FALSE.

...

additional parameters

Value

data.table

Examples

1
2
3
4
5
6
7
## Not run: 
 (x <- download_viagens(year = 2018))
 (x <- download_viagens(year = 2017:2018))

 (x <- download_viagens(year = 2014, interactive = F, file = 3))

## End(Not run)

stats4good/transpbrr documentation built on Oct. 21, 2019, 6:08 p.m.