# flights out of Portland International in June 2018
if (FALSE) get_flights("PDX", 2018, 6)
# ...or the original nycflights13 flights dataset
if (FALSE) get_flights(c("JFK", "LGA", "EWR"), 2013)
# use the dir argument to indicate the folder to
# save the data in \code{dir} as "flights.rda"
if (FALSE) get_flights("PDX", 2018, 6, dir = tempdir())
Run the code above in your browser using DataLab