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. This package provides the following data tables.

  • flights: all flights that departed from NYC in 2013
  • 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

If you're interested in other subsets of flight data, see:

  • nycflights for flights departing from from NYC in the last year.

  • anyflights for flights departing from any airport in any year.

  • airlines to maintain a local SQL database of all flight departure data.


nycflights13 1.0.0

  • weather$time_hour and flights$time_hour are now stored in the America/New_York timezone (#19).

  • weather data updated from latest Iowa State mesonet (@rmcd1024, #24). wind_gust is now correctly captured from the underlying data, rather than being a copy of wind_speed. precip is better captures the hourly preciptation (which tends to be recorded at 51 minutes past the hour) (#27)

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.


1.0.1 by Hadley Wickham, 7 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

Imported by biclustermd.

Suggested by DataExplorer, arkdb, cattonum, dat, dbplyr, disk.frame, dlookr, dm, dplyr, dplyrAssist, easyalluvial, hdf5r, heddlr, hutils, implyr, infer, inops, modeldb, mongolite, raw, rdflib, rsolr, sparklyr, tibble, tidyfst, tidypredict, tidyquery, tsbox, tsibble, writexl.

See at CRAN