When choosing an airline, prospective flyers would like to know many things however two of the most important questions are “will my flight be on time” and “is this airline reliable”. To answer this question I have decided to search the provided database for which airlines had the worst (highest) cancellation rate and which had the highest disparity between their estimated flight time and their actual flight time.
library(dplyr)
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
This graph found that carrier “B6” had the highest cancellation rate of any carrier at 3.86% which is just under 1 in 25 flights. This is nearly double the average rate of about 2% which should be noted by anyone considering using airline B6. I would like to commend airline HA however for their extremely low rate of cancellations relative to the other airlines. Of course their are factors which may be outside of the airlines control which are impacting their ability to not cancel flights such as climate (An airline operating in Alaska probably has a higher cancellation rate than one operating in Europe) which should be taken into account.
The above graph determined that UA was the carrier with the highest disparity between projected and actual flight lengths. A disparity of 15 minutes is not very extreme so all of the airlines have an acceptable amount of time disparity. Yet again we see that airline HA has the lowest time disparity of any of the available airlines which tells us that they are either a very well run organization or that they operate in an exceptionally calm environment.
1 Grading Rubric
Item
(percent overall)
100% - flawless
67% - minor issues
33% - moderate issues
0% - major issues or not attempted
Question 1 query.
(22%)
Relevant question that is fully answered in the query or queries.
Question 1 visualization or table.
(15%)
Visually pleasant and relevant to the question.
Question 2 query.
(22%)
Relevant question that is fully answered in the query or queries.
Question 2 visualization or table.
(15%)
Visually pleasant and relevant to the question.
Data was subsetted separately from the assignment.
(10%)
You included the description of your subsetted data in your narrative.
You subsetted the data but didn’t include the description in the narrative.
NA
You didn’t subset the data.
Messages and/or errors suppressed from rendered document and all code is shown.
(8%)
Submitted properly to Brightspace
(8%)
NA
NA
You must submit according to instructions to receive any credit for this portion.