ontime | R Documentation |
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.
ontime
A data frame consisting of the variables
a date variable of the day of the flight
factor variable of the carrier (using the two letter abbreviation)
numeric variable of the flight number
scheduled departure time in hhmm format
actual departure time in hhmm format
scheduled arrival time in hhmm format
actual arrival time in hhmm format
numeric variable of the taxi out time in minutes
numeric variable of the taxi in time in minutes
Arrival delay, in Minutes
Departure delay, in Minutes
Carrier Delay, in Minutes
Weather Delay, in Minutes
National Air System Delay, in Minutes
Security Delay, in Minutes
Late Aircraft Delay, in Minutes
http://www.transtats.bts.gov/DL_SelectFields.asp?Table_ID=236&DB_Short_Name=On-Time
library(ggplot2) ggplot(ontime, aes(UniqueCarrier, TaxiIn + TaxiOut)) + geom_lv(aes(fill = after_stat(LV))) + scale_fill_lv() + scale_y_sqrt() + theme_bw()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.