read_airport_movements {flightsbr} | R Documentation |
Download airport movement data from Brazil
Description
Download airport movements data from Brazil’s Civil Aviation Agency (ANAC). The data covers all passenger, aircraft, cargo and mail movement data from airports regulated by ANAC. Data only available from Jan 2019 onwards. A description of all variables included in the data is available at https://www.anac.gov.br/acesso-a-informacao/dados-abertos/areas-de-atuacao/operador-aeroportuario/dados-de-movimentacao-aeroportuaria/60-dados-de-movimentacao-aeroportuaria.
Usage
read_airport_movements(date = 202001, showProgress = TRUE, cache = TRUE)
Arguments
date |
Numeric. Date of the data in the format |
showProgress |
Logical. Defaults to |
cache |
Logical. Whether the function should read cached data downloaded
previously. Defaults to |
Value
A "data.table" "data.frame"
object. All columns are returned with
class
of type "character"
.
Examples
## Not run: if (interactive()) {
# Read airport movement data
amov202006 <- read_airport_movements(date = 202006)
amov2020 <- read_airport_movements(date = 2020)
}
## End(Not run)