Package 'nycflights23'

Title: Flights and Other Useful Metadata for NYC Outbound Flights in 2023
Description: Updating the now 10-year-old 'nycflights13' data package. It contains information about all flights that departed from the three main New York City airports in 2023 and metadata on airlines, airports, weather, and planes.
Authors: Chester Ismay [aut, cre] , Simon P. Couch [aut], Hadley Wickham [aut], RStudio [cph], Jay Lee [ctb], Dennis Irorere [ctb]
Maintainer: Chester Ismay <[email protected]>
License: CC0
Version: 0.1.0
Built: 2024-11-11 05:30:11 UTC
Source: https://github.com/moderndive/nycflights23

Help Index


Airline names.

Description

Look up airline names from their carrier codes.

Format

A data frame with columns:

carrier

Two letter abbreviation.

name

Full name.

Source

https://www.transtats.bts.gov/DL_SelectFields.asp?Table_ID=236


Airport metadata

Description

Useful metadata about airports.

Format

A data frame with columns:

faa

FAA airport code.

name

Usual name of the airport.

lat, lon

Location of airport.

alt

Altitude, in feet.

tz

Timezone offset from GMT/UTC.

dst

Daylight savings time zone. A = Standard US DST: starts on the second Sunday of March, ends on the first Sunday of November. U = unknown. N = no dst.

tzone

IANA time zone, as determined by GeoNames webservice.

Source

https://openflights.org/


Flights data

Description

On-time data for all flights that departed from the given airports.

Format

A data frame with columns:

year, month, day

Date of departure.

dep_time, arr_time

Actual departure and arrival times, UTC.

sched_dep_time, sched_arr_time

Scheduled departure and arrival times, UTC.

dep_delay, arr_delay

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

hour, minute

Time of scheduled departure broken into hour and minutes.

carrier

Two letter carrier abbreviation. See get_airlines to get the full name.

tailnum

Plane tail number.

flight

Flight number.

origin, dest

Origin and destination airport. See get_airports for additional metadata.

air_time

Amount of time spent in the air, in minutes.

distance

Distance between airports, in miles.

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.

Source

RITA, Bureau of transportation statistics, https://www.transtats.bts.gov/DL_SelectFields.asp?Table_ID=236


Plane metadata.

Description

Plane metadata for all plane tail numbers found in the FAA aircraft registry. American Airways (AA) and Envoy Air (MQ) report fleet numbers rather than tail numbers so can't be matched.

Format

A data frame with columns:

tailnum

Tail number.

year

Year manufactured

type

Type of plane.

manufacturer, model

Manufacturer and model.

engines, seats

Number of engines and seats.

speed

Average cruising speed in mph.

engine

Type of engine.

Source

FAA Aircraft registry, https://www.faa.gov/licenses_certificates/aircraft_certification/aircraft_registry/releasable_aircraft_download


Hourly weather data

Description

Hourly meteorological data.

Format

A data frame with columns

origin

Weather station. Named origin to facilitate merging with flights data.

year, month, day, hour

Time of recording, UTC.

temp, dewp

Temperature and dewpoint in F.

humid

Relative humidity.

wind_dir, wind_speed, wind_gust

Wind direction (in degrees), speed and gust speed (in mph).

precip

Precipitation, in inches.

pressure

Sea level pressure in millibars.

visib

Visibility in miles.

time_hour

Date and hour of the recording as a POSIXct date, UTC.

Source

ASOS download from Iowa Environmental Mesonet, https://mesonet.agron.iastate.edu/request/download.phtml.