read_airports {flightsbr} | R Documentation |
Download airports data from Brazil
Description
Download data of all airports and aerodromes registered in Brazil’s Civil Aviation Agency (ANAC). Data source: https://www.gov.br/anac/pt-br/assuntos/regulados/aerodromos/lista-de-aerodromos-civis-cadastrados. The data dictionary for public airports can be found at https://www.anac.gov.br/acesso-a-informacao/dados-abertos/areas-de-atuacao/aerodromos/lista-de-aerodromos-publicos-v2/70-lista-de-aerodromos-publicos-v2. The data dictionary for private airports can be found at https://www.anac.gov.br/acesso-a-informacao/dados-abertos/areas-de-atuacao/aerodromos/lista-de-aerodromos-privados-v2.
Usage
read_airports(type = "all", showProgress = TRUE)
Arguments
type |
String. Whether the function should download data on |
showProgress |
Logical. Defaults to |
Value
A "data.table" "data.frame"
object.
Examples
## Not run: if (interactive()) {
# Read airports data
all_airports <- read_airports(type = 'all')
public_airports <- read_airports(type = 'public')
private_airports <- read_airports(type = 'private')
}
## End(Not run)