ontime: Ontime Flight Data

ontimeR Documentation

Ontime Flight Data

Description

Data set detailing on-time performance of national US flights in January 2015. This data is a subset of the data provided by the US Department of Transportation. The full data as well as archived or more recent data is available for download from http://www.transtats.bts.gov/DL_SelectFields.asp?Table_ID=236&DB_Short_Name=On-Time.

Usage

ontime

Format

A data frame consisting of the variables

FlightDate

a date variable of the day of the flight

UniqueCarrier

factor variable of the carrier (using the two letter abbreviation)

FlightNum

numeric variable of the flight number

CRSDepTime

scheduled departure time in hhmm format

DepTime

actual departure time in hhmm format

CRSArrTime

scheduled arrival time in hhmm format

ArrTime

actual arrival time in hhmm format

TaxiOut

numeric variable of the taxi out time in minutes

TaxiIn

numeric variable of the taxi in time in minutes

ArrDelay

Arrival delay, in Minutes

DepDelay

Departure delay, in Minutes

CarrierDelay

Carrier Delay, in Minutes

WeatherDelay

Weather Delay, in Minutes

NASDelay

National Air System Delay, in Minutes

SecurityDelay

Security Delay, in Minutes

LateAircraftDelay

Late Aircraft Delay, in Minutes

References

http://www.transtats.bts.gov/DL_SelectFields.asp?Table_ID=236&DB_Short_Name=On-Time

Examples

library(ggplot2)
ggplot(ontime, aes(UniqueCarrier, TaxiIn + TaxiOut)) +
  geom_lv(aes(fill = after_stat(LV))) +
  scale_fill_lv() +
  scale_y_sqrt() +
  theme_bw()

lvplot documentation built on Sept. 26, 2022, 1:05 a.m.