flights | R Documentation |
Sample of on-time data for all flights that departed NYC (i.e. JFK, LGA or EWR) in 2013.
data(flights)
A data frame with 3000 rows and 19 variables. The variables are as follows:
Date of departure.
Actual departure and arrival times (format HHMM or HMM), local tz.
Scheduled departure and arrival times (format HHMM or HMM), local tz.
Departure and arrival delays, in minutes. Negative times represent early departures/arrivals.
Two letter carrier abbreviation. See airlines to get name.
Flight number.
Plane tail number. See planes for additional metadata.
Origin and destination.
Amount of time spent in the air, in minutes.
Distance between airports, in miles.
Time of scheduled departure broken into hour and minutes.
Scheduled date and hour of the flight as a POSIXct date.
RITA, Bureau of transportation statistics, <https://www.transtats.bts.gov/DL_SelectFields.asp?Table_ID=236> "Flights data" in nycflights13 package <https://github.com/hadley/nycflights13>, License : CC0(Public Domain)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.