nycflights

Flights from New York City airports


Overview

On-time data for a random sample of flights departing New York City airports in 2013.


Variables

  • year: Year.
  • month: Month.
  • day: Day.
  • dep_time: Departure time, in Eastern time zone.
  • dep_delay: Departure delay, in minutes.
  • arr_time: Arrival time, in the local time zone.
  • arr_delay: Arrival delay, in minutes.
  • carrier: Carrier, abbreviated.
  • tailnum: Tail number of the airplane.
  • flight: Flight number.
  • origin: Flight origin, airport code.
  • dest: Flight destination, airport code.
  • air_time: Time in the air, in minutes.
  • distance: Distance between the departure and arrival airports, in miles.
  • hour: Scheduled departure hour.
  • minute: Scheduled departure minute.


Loading Data

CSV Download

To access the data in R, type

source("http://www.openintro.org/books/statdata/nycflights.R")

To access the data in SAS, type

filename nycflights url 'http://www.openintro.org/books/statdata/nycflights.csv'