NEWS.md
read_flights()
function now uses fread(encoding = 'Latin-1')
internally to avoid issues with encoding. Closed #35.get_airport_movement_dates_available()
does not throw warnings of NA
values anymore.read_aircrafts()
function now used fread(skip = 1)
internally to read column names correctly.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.read_aircrafts()
now has a date
parameter, which allows one to download the data on aircrafts registered at ANAC at particular years/months. Closed #33.numeric
class. Closed #32.read_flights()
function in Unix systems. Closed #31.read_flights()
now accepts a vector of dates. Closed #29.get_airfares_dates_available()
because of “.CSV” in ANAC url. Closed #27.get_airport_movement_dates_available()
read_flights()
due to changes in ANAC data links.intro_flightsbr
vignetteread_flights()
work again.read_airfares()
to read data on airfares of domestic and international flights Closed #22.read_flights()
and read_airport_movements()
are now cached in temp dir. Closed #20.character
. This fixes a bug in the read_airport_movements()
function. Closed #20.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.latlon_to_numeric()
with suppressed warnings.read_aircrafts()
to read data on all aircrafts registered in the Brazilian Aeronautical Registry (Registro Aeronáutico Brasileiro - RAB) Closed #14.read_airports()
to read data on all public and private airports. Closed #4 and Closed #9.latest_flights_date()
to check the date of the latest flight data available. Closed #16.read_airport_movements()
to download data on airport movements. Closed #15.read_flights()
now takes date
input in the format yyyymm
or yyyy
. When the date input is a 4-digit number, the function now downloads data of all months in that year. Closed #1.read_flights()
now automatically detects and checks the latest flights data available. Closed #13.split_date()
: Split a date from yyyymmm to year yyyy and month mmcheck_date()
: Check whether date input is acceptablegenerate_all_months()
: Generate all months with yyyymm
format in a yearlatlon_to_numeric()
: Convert spatial coordinates of airports to lat longet_flights_url()
: Put together the url of flight data filesget_flight_dates_available()
: Retrieve from ANAC website all dates available for flights datadownload_flights_data()
: Download and read ANAC flight dataget_airport_movements_url()
: Put together the url of airport movement data filesget_airport_movement_dates_available()
: Retrieve all dates available for airport movements datadownload_airport_movement_data()
: Download and read ANAC airport movement dataread_flights
and read_airports()
.select
in read_flights()
, allowing the user to specify the columns that should be read.read_flights()
. Coverage of 95.24%. Closed #5.date
input. Closed #2.