nycdelays14: NYC flight delays for the year 2014

Description Usage Arguments Format Value References See Also Examples

Description

On-time data for flights that departed NYC (i.e. JFK, LGA or EWR) in 2014.

nycdelays14 function loads all the delays for 2014.

nycweatherdelays14 function loads just the weather delays for 2014.

Usage

1
2
3
nycdelays14 (path = "./", dir = "flights", verbose = TRUE)
# only weather delays
nycweatherdelays14 (path = "./", dir = "flights", verbose = TRUE)

Arguments

path

Path excluding the directory to download logs to.

dir

Directory within path where the logs will be downloaded to.

verbose

TRUE provide messages to the console.

Format

Delays data contains 14 columns

year,month,day

Departure date.

dep_time, arr_time

Departure and arrival times at local tz.

carrier

Two letter carrier code.

tailnum

Tail number.

flight

Flight number.

origin

Origin airport.

dest

Desitination airport.

carrier_delay

Carrier delay, in minutes.

weather_delay

Weather delay, in minutes.

nas_delay

National air system delay, in minutes.

aircraft_delay

Late aircraft delay, in minutes.

Value

A data.table

References

http://www.transtats.bts.gov/DL_SelectFields.asp?Table_ID=236

See Also

downloadflightlogs, flights, nycflights14

Examples

1
2
3
4
## Not run: 
  dt = nycdelays14(path="~/Downloads")

## End(Not run)

arunsrinivasan/flights documentation built on May 12, 2019, 3:42 a.m.