read_aircrafts {flightsbr}R Documentation

Download aircrafts data from Brazil

Description

Download data of all aircrafts registered in the Brazilian Aeronautical Registry (Registro Aeronáutico Brasileiro - RAB), organized by the Brazilian Civil Aviation Agency (ANAC). A description of all variables included in the data is available at https://www.gov.br/anac/pt-br/sistemas/rab.

Usage

read_aircrafts(date = 202001, showProgress = TRUE)

Arguments

date

Numeric. Date of the data in the format yyyymm. Defaults to 202001. To download the data for all months in a year, the user can pass a 4-digit year input yyyy.

showProgress

Logical. Defaults to TRUE display progress.

Value

A ⁠"data.table" "data.frame"⁠ object. All columns are returned with class of type "character".

See Also

Other download flight data: read_flights()

Examples

## Not run:  if (interactive()) {
# Read aircrafts data
aircrafts <- read_aircrafts(showProgress = TRUE)

}
## End(Not run)

[Package flightsbr version 0.4.1 Index]