Learn R Programming

rwunderground (version 0.1.8)

lookup_airport: Lookup airport code (IATA and ICAO code). weatherunderground API might not recognize the IATA/ICAO code for smaller airports.

Description

Lookup airport code (IATA and ICAO code). weatherunderground API might not recognize the IATA/ICAO code for smaller airports.

Usage

lookup_airport(location, region = NULL)

Arguments

location

location string

region

region string

Value

data.frame of matching airport name and IATA/ICAO codes

Examples

Run this code
# NOT RUN {
lookup_airport("Honolulu")
lookup_airport("Pyongyang")
lookup_airport("Portland", region = "Los_Angeles")
# }

Run the code above in your browser using DataLab