nycflights13 (version 0.2.0)

airports: Airport metadata

Description

Useful metadata about airports.

Usage

airports

Arguments

Format

A data frame with columns:
faa
FAA airport code
name
Usual name of the aiport
lat,lon
Location of airport
alt
Altitude, in feet
tz
Timezone offset from GMT
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.

Source

http://openflights.org/data.html, downloaded 2014-06-27

Examples

Run this code
if (require("dplyr")) {
airports

airports %>% mutate(dest = faa) %>% semi_join(flights)
flights %>% anti_join(airports %>% mutate(dest = faa))
airports %>% mutate(origin = faa) %>% semi_join(flights)

}

Run the code above in your browser using DataCamp Workspace