getAircraftMetadata: Retrieve metadata for a specified aircraft

Description Usage Arguments Value References Examples

View source: R/openSkies_getMetadataFunctions.R

Description

Retrieves the available metadata for a specified aircraft. These include the registration ID for the aircraft, as well as information about its manufacturer, owner, operator and country of registration, among others. A single aircraft must be specified using its ICAO 24-bit address.

Usage

1
getAircraftMetadata(aircraft, timeOut=60, maxQueryAttempts=1)

Arguments

aircraft

string with the ICAO 24-bit address of an aircraft (for example, \"3c6444\" for Lufthansa D-AIBD (Airbus A319).

timeOut

number of seconds after which the query will time out and return a NULL result. In the default behavior, timeout will be reached after 60 seconds.

maxQueryAttempts

Maximum number of attempts that will be performed when carrying out the requested query. Failed attempts include timeouts. In the default behavior, a single attempt will be performed. It should be noted that setting a large number of maximum attempts can lead to long running times.

Value

An object of class openSkiesAircraft. See the openSkiesAirport documentation for details on the fields for the class.

References

https://www.icao.int/publications/doc8643/pages/search.aspx

https://www.eurocontrol.int/sites/default/files/content/documents/nm/asterix/archives/asterix-cat021-asterix-ads-b-messages-part-12-v1.4-072009.pdf

Examples

1
2
3
4
5
# Obtain metadata for the aircraft with ICAO 24-bit address 3922e2 

if(interactive()){
getAircraftMetadata("3922e2")
}

openSkies documentation built on Dec. 19, 2021, 5:10 p.m.