Flights that Departed NYC in 2013

Airline on-time data for all flights departing NYC in 2013. Also includes useful 'metadata' on airlines, airports, weather, and planes.

This package contains information about all flights that departed from NYC (e.g. EWR, JFK and LGA) in 2013: 336,776 flights in total. To help understand what causes delays, it also includes a number of other useful datasets:

  • weather: hourly meterological data for each airport
  • planes: construction information about each plane
  • airports: airport names and locations
  • airlines: translation between two letter carrier codes and names


nycflights13 0.2.0

  • airlines: carrier columns are characters instead of factors (#2).

  • airports: duplicate entry for BFT removed (#7).

  • flights:

    • new date variable combines year, month, and day into a single variable (#11).

    • new sched_dep_time and sched_arr_time variables give scheduled departure and arrival times - these are more appropriate for connecting to weather data. hour and minute are now computed from the scheduled departure time, not the actual departure time.

    • missing tailnum now recorded as NA, not "" (#10).

  • weather:

    • Includes weather data for all airports.

    • New time_hour variable combines year, month, day, hour into a single POSIXct variable.

    • Saved as ungrouped.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.2 by Hadley Wickham, 10 months ago

Report a bug at

Browse source code at

Authors: Hadley Wickham [aut, cre], RStudio [cph]

Documentation:   PDF Manual  

CC0 license

Imports tibble

Suggests dplyr

Suggested by DataExplorer, MonetDBLite, dat, datacheckr, dbplyr, dplyr, dplyrAssist, dtplyr, hdf5r, hutils, implyr, raw, rsolr, sparklyr, tibble, writexl.

See at CRAN