Overview

This dataset is all about flights in the united states, including information about the number, length, and type of delays. The data is reported for individual months at every major airport for every carrier. Additional information is available: http://www.rita.dot.gov/bts/help/aviation/html/understanding.html

Explore Structure




Index Type Example Value
0 dict { }
... ... ...
Key Type Example Value Comment
"late aircraft" int 18 The number of delays and cancellations caused by a previous flight with the same aircraft arriving late, causing the present flight to depart late in this month.
"weather" int 28 Number of delays or cancellations caused by significant meteorological conditions (actual or forecasted) that, in the judgment of the carrier, delays or prevents the operation of a flight such as tornado, blizzard or hurricane in this month.
"security" int 2 Number of delays or cancellations caused by evacuation of a terminal or concourse, re-boarding of aircraft because of security breach, inoperative screening equipment and/or long lines in excess of 29 minutes at screening areas in this month.
"national aviation system" int 105 The number of delays and cancellations attributable to the national aviation system that refer to a broad set of conditions, such as non-extreme weather conditions, airport operations, heavy traffic volume, and air traffic control in this month.
"carrier" int 34 The number of delays and cancellations due to circumstances within the airline's control (e.g. maintenance or crew problems, aircraft cleaning, baggage loading, fueling, etc.) in this month.
Key Type Example Value Comment
"code" str "AA" The 3 letter code for this airline carrier, assigned by IATA. For more information, consult this List of Airline Codes.
"name" str "American Airlines Inc." The full name of this airline carrier.
Key Type Example Value Comment
"late aircraft" int 1269 The number of minutes delayed caused by a previous flight with the same aircraft arriving late, causing the present flight to depart late in this month.
"weather" int 1722 Number of of minutes delayed caused by significant meteorological conditions (actual or forecasted) that, in the judgment of the carrier, delays or prevents the operation of a flight such as tornado, blizzard or hurricane in this month.
"carrier" int 1367 The number of minutes delayed due to circumstances within the airline's control (e.g. maintenance or crew problems, aircraft cleaning, baggage loading, fueling, etc.) in this month.
"security" int 139 Number of minutes delayed caused by evacuation of a terminal or concourse, re-boarding of aircraft because of security breach, inoperative screening equipment and/or long lines in excess of 29 minutes at screening areas in this month.
"total" int 8314
"national aviation system" int 3817 The number of minutes delayed attributable to the national aviation system that refer to a broad set of conditions, such as non-extreme weather conditions, airport operations, heavy traffic volume, and air traffic control in this month.
Key Type Example Value Comment
"cancelled" int 5 The number of flights that were cancelled in this month.
"on time" int 561 The number of flights that were on time in this month.
"total" int 752 The total number of flights in this month.
"delayed" int 186 The number of flights that were delayed in this month.
"diverted" int 0 The number of flights that were diverted in this month.
Key Type Example Value Comment
"code" str "ATL" The 3 letter code for this airport, assigned by IATA. For more information, consult this List of Airport Codes.
"name" str "Atlanta, GA: Hartsfield-Jackson Atlanta International" The full name of this airport.
Key Type Example Value Comment
"airport" dict { }
"statistics" dict { }
"time" dict { }
"carrier" dict { }
Key Type Example Value Comment
"flights" dict { }
"# of delays" dict { }
"minutes delayed" dict { }
Key Type Example Value Comment
"label" str "2003/6" The "year/month" reported as a string, to make it easier to sort by time periods.
"year" int 2003 The reported year as a 4-digit number.
"month" int 6 The reported month as a number. 0 is January, 1 is February, etc.

Downloads

Download all of the following files.

Usage

This library has 1 function you can use.
import airlines
list_of_airline = airlines.get_reports()
Additionally, some of the functions can return a sample of the Big Data using an extra argument. If you use this sampled Big Data, it may be much faster. When you are sure your code is correct, you can remove the argument to use the full dataset.
import airlines
# These may be slow!
list_of_airline = airlines.get_reports(test=True)

Documentation

 airlines.get_reports(test=False)

Returns a list of airline reports in the database.