The airport data in the flightsbr package is downloaded from Brazil’s Civil Aviation Agency (ANAC). The data covers all airports and aerodromes registered in ANAC. It brings detailed information on….[mention a few key variables].
Before downloading the data, let’s first load the libraries we’ll use in this vignette:
Now, downloading data of all airports in Brazil is as simple as this:
You will notice that the data sets on private and public airports
have different columns. This can make row binding these data.frames a
bit tricky. For now, the function
return a data.frame with both types of airports and only a few columns
if the user set
type = "all". The geographical coordinates
are provided in
EPSG Projection 4326 - WGS 84.