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.

Travis-CI Build Status CRAN_Status_Badge

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.2

  • Import function from tibble to suppress R CMD check NOTE.

nycflights13 0.2.1

  • nycflights imports tibble so you get nice printing even when no other tidyverse package is loaded.

  • airports now has a tzone column that contains the IANA time zone for the airport (#15).

nycflights13 0.2.0

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

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

  • flights:

    • new time_hour variable combines year, month, day, and hour 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, a year 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, cattonum, dat, datacheckr, dbplyr, dlookr, dplyr, dplyrAssist, dtplyr, hdf5r, hutils, implyr, infer, modeldb, raw, rdflib, rsolr, sparklyr, tibble, tidypredict, tsbox, tsibble, writexl.

See at CRAN