You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flightsbr: Download Flight and Airport Data from Brazil
flightsbr is an R package designed to facilitate the download of comprehensive flight and airport data from Brazil’s Civil Aviation Agency (ANAC). The package provides access to detailed information on aircraft, airports, and airport operations registered with ANAC. It also includes data on airfares, all international flights to and from Brazil, and domestic flights within the country.
Installation
# From CRAN
install.packages("flightsbr")
# or use the development version with latest featuresutils::remove.packages('flightsbr')
remotes::install_github("ipeaGIT/flightsbr")
1) read_flights() to download data on national and international flights.
# flights in a given month/year (yyyymm)
df_201506 <- read_flights(date = 201506)
# flights in a given year (yyyy)
df_2015 <- read_flights(date = 2015)
2) read_airports() to download data on private and public airports.
As of today, there are two repositories/projects with Brazilian aviation data, which include more info related to weather conditions, air traffic management etc. The advantage of flightsbt is that it's the easiest and fastest way to download flight and airport Data from Brazil in R.
Original data is collected by Brazil’s Civil Aviation Agency (ANAC). The flightsbr package is developed by a team at the Institute for Applied Economic Research (Ipea), Brazil. If you want to cite this package, you can cite it as:
Pereira, R.H.M. (2022). flightsbr: Download Flight And Airport Data from Brazil. R package (Version 0.1.0). OSF. https://doi.org/10.31219/osf.io/jdv7u
About
R Package to Download Flight and Airport Data from Brazil