Package 'hflights'

Title: Flights that departed Houston in 2011
Description: A data only package containing commercial domestic flights that departed Houston (IAH and HOU) in 2011.
Authors: Hadley Wickham <[email protected]>
Maintainer: Hadley Wickham <[email protected]>
License: CC0
Version: 0.1
Built: 2024-10-31 02:47:29 UTC
Source: https://github.com/hadley/hflights

Help Index


Houston flights data

Description

This dataset contains all flights departing from Houston airports IAH (George Bush Intercontinental) and HOU (Houston Hobby). The data comes from the Research and Innovation Technology Administration at the Bureau of Transporation statistics: http://www.transtats.bts.gov/DatabaseInfo.asp?DB_ID=120&Link=0

Usage

hflights

Format

A data frame with 227,496 rows and 21 columns.

Details

src_hflights caches a SQLite version of the data in a standard location for use in examples.

Variables

  • Year, Month, DayofMonth: date of departure

  • DayOfWeek: day of week of departure (useful for removing weekend effects)

  • DepTime, ArrTime: departure and arrival times (in local time, hhmm)

  • UniqueCarrier: unique abbreviation for a carrier

  • FlightNum: flight number

  • TailNum: airplane tail number

  • ActualElapsedTime: elapsed time of flight, in minutes

  • AirTime: flight time, in minutes

  • ArrDelay, DepDelay: arrival and departure delays, in minutes

  • Origin, Dest origin and destination airport codes

  • Distance: distance of flight, in miles

  • TaxiIn, TaxiOut: taxi in and out times in minutes

  • Cancelled: cancelled indicator: 1 = Yes, 0 = No

  • CancellationCode: reason for cancellation: A = carrier, B = weather, C = national air system, D = security

  • Diverted: diverted indicator: 1 = Yes, 0 = No

Examples

head(hflights)