getAEairports: getAEairports

Description Usage Arguments Value See Also Examples

Description

A function to get airport information from Aviation Edge API. As stated on aviation-edge.com, this world airport database contains detailed data on "every airport, including private and public airports, airstrips, helipads, seaports and much more".

Available API Options

Usage

1
2
getAEairports(airport.iata.code = NULL, country.iso.code = NULL,
  api.key)

Arguments

airport.iata.code

IATA code of the airport

country.iso.code

ISO code of the country (eg. DE)

api.key

you authentication api key

Value

answer a json object containing airports information details

See Also

https://www.iata.org/publications/Pages/code-search.aspx

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Details about Lisbon (LIS) airport
## Not run:  
getAEairports(airport.iata.code = 'LIS',
              country.iso.code = NULL,
              api.key = 'key.here') 

## End(Not run)

All airports in France
## Not run: 
getAEairports(airport.iata.code = NULL,
              country.iso.code = 'FR',
              api.key = 'key.here')

## End(Not run)

All airports
## Not run: 
getAEairports(airport.iata.code = NULL,
              country.iso.code = NULL,
              api.key = 'key.here')

## End(Not run)

longwei66/flightR documentation built on May 18, 2019, 2:35 a.m.