get_track_data: get_track_data

Description Usage Arguments Value Examples

View source: R/get_track_data.R

Description

Retrieve flights for a certain airport which arrived within a given time interval. If no flights are found for the given period, HTTP stats 404 - Not found is returned with an empty response body.

Usage

1
get_track_data(username = NULL, password = NULL, icao24 = NULL, time = NULL)

Arguments

username

Your 'OpenSky Network' username.

password

Your 'OpenSky Network' password.

icao24

Unique ICAO 24-bit address of the transponder in hex string representation. All letters need to be lower case

time

Unix time in seconds since epoch. It can be any time between start and end of a known flight. If time = 0, get the live track if there is any flight ongoing for the given aircraft.

Value

A dataframe with the trajectory of a certain aircraft at a given time.

Examples

1
## Not run: get_track_data("luisgasco", "masterEOI2015", icao24 = 3c4b26, time = 0)

lgascosa/Ropensky documentation built on May 10, 2020, 5:57 a.m.