Skip to contents

flightsbr v1.0.1 dev

  • The function read_aircrafts() is now deprecated in favor of read_aircraft() simply to fix a typo in the function name. The behavior and outputs are identical. Closes #45

flightsbr v1.0.0

CRAN release: 2024-10-22

  • Breaking changes:
    • The names of all columns in the data outputs are now cleanned with {janitor}
    • Function read_airports() now downloads v2 version of public airports data. Closes #41
  • Major changes:
    • Function read_airfares() is working again. Closes #30. The prices of air tickets are now returned as numeric.
    • Function read_flights() with fixed decimal values in numeric columns. Closes #43
    • Function read_airports() with fixed numeric values for "altitude" column. Closes #42
  • Minor changes:
    • Internally check of the consistency of date inputs. The date input must be consistent in either a 6-digit format yyyymm OR a 4-digit format yyyy.
    • New support function latest_airfares_date()
    • Fix error that stopped reading aircraft data read_aircraft() for multiple months when the number of collums differed across months. Fixed using data.table::rbindlist(fill = TRUE)

flightsbr v0.5.0

CRAN release: 2024-09-18

  • Major changes:
  • Minor changes:
    • Removed dependency on the {httr} package
    • Streamlined functions to simplify package maintenance and improve performance
    • Using {fs} to manage file paths and {archive} to unzip files
    • Reorganization of internal functions to simplify package maintenance

flightsbr v0.4.1

CRAN release: 2024-04-23

flightsbr v0.4.0

CRAN release: 2023-12-04

  • Major changes:
    • The functions read_flights() and read_airport_movements() now have a new parameter cache, which indicates whether the function should read cached data downloaded previously. Defaults to TRUE. Closed #31.
    • The function read_aircraft() now has a date parameter, which allows one to download the data on aircraft registered at ANAC at particular years/months. Closed #33.
  • Minor changes:
    • All functions now return numeric columns with numeric class. Closed #32.
  • Bug fixes:
    • Fixed bug when unzipping files for read_flights() function in Unix systems. Closed #31.
    • Updated link to private airports data changed by ANAC. Closed #34.

flightsbr v0.3.0

CRAN release: 2023-06-29

  • Major changes:
    • Function read_airfares() is temporarily unavailable. See issue #30
  • Minor changes:
  • Bug fixes:

flightsbr v0.2.1

CRAN release: 2022-11-27

  • Bug fixes:
    • Fixed bug in read_flights() due to changes in ANAC data links.
    • Fixed broken link in intro_flightsbr vignette

flightsbr v0.2.0

CRAN release: 2022-05-05

flightsbr v0.1.2

CRAN release: 2022-03-18

  • Bug fixes:
    • Fixed bug that stopped flightsbr from downloading 2022 data.

flightsbr v0.1.1

CRAN release: 2022-03-06

  • Bug fixes:
    • functions read_flights() and read_airport_movements() no longer have side effects on objects named month and year on the global environment. The split_date() support function was removed from the package. Closed #17.
    • read_ functions now try to download for a 2nd time if the 1st attempt failed. This will help overcome a small issue with the instability of ANAC data links. Closed #18.
    • Using a simpler / slightly faster version of latlon_to_numeric() with suppressed warnings.
    • Update package citation, adding OSF preprint DOI.

flightsbr v0.1.0

CRAN release: 2022-02-08

flightsbr v0.0.1

CRAN release: 2022-01-21