openSkiesStateVector: An 'R6Class' object representing an aircraft state vector

Description Usage Fields Examples

Description

R6Class object representing an aircraft state vector. Contains information about status at a given timepoint of an aircraft, including its position, altitude and velocity. New instances can be manually created by providing values for at least the ICAO24, longitude and latitude fields. Alternatively, getSingleTimeStateVectors will return an openSkiesStateVector object if a single state vector matching the query conditions is found.

Usage

1

Fields

ICAO24

String with the ICAO 24-bit aicraft address associated to the aircraft in hexadecimal format

call_sign

String with the callsign assigned to the aircraft

origin_country

String with the country where the aircraft is registered

requested_time

String with the time point for which the state vector was requested

last_position_update_time

String with the time at which the last position update for the aircraft was received, or NULL if no position update had been received in the past 15 s

last_any_update_time

String with the time at which the last update (of any type) for the aircraft was received

longitude

Longitude value for the position of the aircraft

latitude

Latitude value for the position of the aircraft

baro_altitude

Barometric altitude of the aircraft in meters

geo_altitude

Geometric altitude of the aircraft in meters

on_ground

Logical indicating if the aircraft is at a surface position

velocity

velocity of the aircraft over the ground in meters/second

true_track

True track angle in degrees of the current aircraft course. Measured clockwise from the North (0º)

vertical_rate

Vertical movement rate of the aircraft in meters/second. Positive means the aircraft is climbing, and negative means it is descending

squawk

String with the squawk code for the aircraft transponder

special_purpose_indicator

Logical indicating if the transponder of the aircraft has emitted a Special Purpose Indicator pulse

position_source

String with the source of the position information for this state vector. Can be ADS-B (Automatic Dependent Surveillance–Broadcast), ASTERIX (All Purpose Structured Eurocontrol Surveillance Information Exchange) or MLA (Multilateration)

Examples

1
2
3
4
5
6
7
8
# Obtain the state vector for aircraft with ICAO 24-bit address 403003 for
# the 8th of October, 2020 at 16:50 London time.

if(interactive()){
test_stateVector <- getSingleTimeStateVectors(aircraft="403003", 
time="2020-10-08 16:50:00", timeZone="Europe/London")
test_stateVector
}

openSkies documentation built on April 17, 2021, 9:06 a.m.