Learn R Programming

airportr (version 0.1.3)

airport_detail: Lookup full airport details based of a standard airport input

Description

Return all airport details given an input IATA code, ICAO code, or airport name.

Usage

airport_detail(input, input_type)

Arguments

input

An airport name, IATA code, or ICAO code. Input type will be guessed unless explicitly defined

input_type

One of "name", "IATA", or "ICAO". Function will attempt to guess type if not supplied

Value

A 1x14 tibble with airport details

Examples

Run this code
# NOT RUN {
airport_detail("YVR")
airport_detail("London Heathrow Airport")
# }

Run the code above in your browser using DataLab