flights4: Subset of observations from the flights tibble in package...

flights4R Documentation

Subset of observations from the flights tibble in package nycflights13.

Description

Only flights originating from EWR and JFK have been selected. Arrival delay of a flight without negative values has been added as variable arr_delay0.

Usage

flights4

Format

A data frame with 20 variables:

year, month, day

Date of departure.

dep_time, arr_time

Actual departure and arrival times (format HHMM or HMM), local tz.

sched_dep_time, sched_arr_time

Scheduled departure and arrival times (format HHMM or HMM), local tz.

dep_delay, arr_delay

Departure and arrival delays, in minutes. Negative times represent early departures/arrivals.

carrier

Two letter carrier abbreviation. See airlines to get name.

flight

Flight number.

tailnum

Plane tail number. See planes for additional metadata.

origin, dest

Origin and destination. See airports for additional metadata.

air_time

Amount of time spent in the air, in minutes.

distance

Distance between airports, in miles.

hour, minute

Time of scheduled departure broken into hour and minutes.

time_hour

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

arr_delay0

Arrival delays without negative values.


WdeNooy/UsingRTutorials documentation built on Jan. 25, 2023, 2:39 a.m.