R/airport.R

#' Airport metadata
#'
#' Useful metadata about airports.
#'
#' @source <https://openflights.org/data.html>, downloaded 2014-06-27
#' @format A data frame with columns:
#' \describe{
#'  \item{faa}{FAA airport code.}
#'  \item{name}{Usual name of the aiport.}
#'  \item{lat, lon}{Location of airport.}
#'  \item{alt}{Altitude, in feet.}
#'  \item{tz}{Timezone offset from GMT.}
#'  \item{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.}
#'  \item{tzone}{IANA time zone, as determined by GeoNames webservice.}
#' }
#' @examples
#' airports
#'
#' if (require("dplyr")) {
#'
#' airports %>% rename(dest = faa) %>% semi_join(flights)
#' flights %>% anti_join(airports %>% rename(dest = faa))
#' airports %>% rename(origin = faa) %>% semi_join(flights)
#'
#' }
"airports"

Try the nycflights13 package in your browser

Any scripts or data that you put into this service are public.

nycflights13 documentation built on April 12, 2021, 5:06 p.m.