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.
read_airports(type = "all", showProgress = TRUE)
String. Whether the function should download data on all
,
public
or private
airports. Defaults to all
, returning fewer
columns. Downloading public
and private
airports separately
will return the full set of columns available for each of those
data sets.
Logical. Defaults to TRUE
display progress.
A "data.table" "data.frame"
object.
if (FALSE) if (interactive()) {
# Read airports data
all_airports <- read_airports(type = 'all')
public_airports <- read_airports(type = 'public')
private_airports <- read_airports(type = 'private')
}