hflights (version 0.1)

hflights: 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

Arguments

Format

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

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

Details

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

Examples

Run this code
head(hflights)

Run the code above in your browser using DataLab