airline_delay | R Documentation |
Summary Data counts for airline per carrier per US City.
airline_delay
A data frame with 3351 rows and 21 variables.
Year data collected
Numeric representation of the month
Carrier.
Carrier Name.
Airport code.
Name of airport.
Number of flights arriving at airport
Number of flights more than 15 minutes late
Number of flights delayed due to air carrier. (e.g. no crew)
Number of flights due to weather.
Number of flights delayed due to National Aviation System (e.g. heavy air traffic).
Number of flights canceled due to a security breach.
Number of flights delayed as a result of another flight on the same aircraft delayed
Number of cancelled flights
Number of flights that were diverted
Total time (minutes) of delayed flight.
Total time (minutes) of delay due to air carrier
Total time (minutes) of delay due to inclement weather.
Total time (minutes) of delay due to National Aviation System.
Total time (minutes) of delay as a result of a security issue .
Total time (minutes) of delay flights as a result of a previous flight on the same airplane being late.
Bureau of Transportation Statistics
library(ggplot2)
ggplot(airline_delay, aes(arr_flights, arr_del15, color = as.factor(year))) +
geom_point(alpha = 0.3) +
labs(
x = "Total Number of inbound flights",
y = "Number of flights delayed by more than 15 mins",
title = "Inbound vs delayed flights by year",
color = "Year"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.