flights: Flights data

Description Usage Format Source Examples

Description

On-time data for all flights that departed NYC (i.e. JFK, LGA or EWR) in 2013.

Usage

1

Format

A data frame with columns:

year

The variable is integer. Year of departure

month

The variable is integer. Month of departure

day

The variable is integer. Day of departure

dep_time

The variable is integer. Actual departure time (format HHMM or HMM), local tz.

sched_dep_time

The variable is integer. Scheduled departure time (format HHMM or HMM), local tz.

dep_delay

The variable is numeric. Departure delay, in minutes. Negative times represent early departures.

arr_time

The variable is integer. Actual arrival times (format HHMM or HMM), local tz.

sched_arr_time

The variable is integer. Scheduled arrival time (format HHMM or HMM), local tz.

arr_delay

The variable is numeric. Arrival delays, in minutes. Negative times represent early arrivals.

carrier

The variable is character. Two letter carrier abbreviation. See airlines in nycflights13 R package to get names.

flight

The variable is integer. Flight number.

tailnum

The variable is character. Plane tail number. See planes in nycflights13 R package for additional metadata.

origin

The variable is character. Origin. See airports in nycflights13 R package for additional metadata.

dest

The variable is character. Destination. See airports in nycflights13 R package for additional metadata.

air_time

The variable is numeric. Amount of time spent in the air, in minutes.

distance

The variable is numeric. Distance between airports, in miles.

hour

The variable is numeric. Time of scheduled departure broken into hour and minutes.

minute

The variable is numeric. Time of scheduled departure broken into hour and minutes.

time_hour

The variable is POSIXct,POSIXt. Scheduled date and hour of the flight as a POSIXct date. Along with origin, can be used to join flights data to weather data.

Source

https://github.com/hadley/nycflights13

Examples

1
2
3
4
## Not run: 
flights

## End(Not run)

byuidatascience/data4python4ds documentation built on July 26, 2020, 5:02 a.m.