arrivals_state_vector: Get state vectors for arrivals at airport

Description Usage Arguments Value Examples

View source: R/state-vector.R

Description

Retrive state vectors for all flights from flights table

Usage

1
arrivals_state_vector(session, apt, wef, til = NULL, duration = 3600)

Arguments

session

SSH session to OSN Impala

apt

ICAO ID of airport, i.e. "EDDF" for Frankfurt

wef

(UTC) timestamp of With Effect From (included)

til

(UTC) timestamp of TILl instant (excluded), if NULL if is interpreted as WEF + 1 day.

duration

number of second back from 'lastseen'

Value

data frame of state vector data of flights containing the following variables (see also OSN docs about Arrivals by Airport):

Name Description Type
icao24 ICAO 24-bit address chr
callsign flight's callsign chr
estdepartureairport Estimated departure airport chr
estarrivalairport Estimated arrival airport chr
start Start of portion of trajectory: `min(firstseen, lastseen - duration)` int
firstseen first seen by OpenSky Network (UNIX timestamp) int
lastseen last seen by OpenSky Network (UNIX timestamp) int
item.time position report's time (UNIX timestamp) int
item.longitude position report's longitude (WSG84 decimal degrees) dbl
item.latitude position report's latitude (WSG84 decimal degrees) dbl
item.velocity ground speed of the aircraft (m/s) dbl
item.heading true track in decimal degrees clockwise from north (north=0°) dbl
item.vertrate vertical speed of the aircraft (m/s) dbl
item.onground TRUE if the position was retrieved from a surface position report lgl
item.baroaltitude position report's barometric altitude (m) dbl
item.geoaltitude position report's GNSS (GPS) altitude (m) dbl
item.hour position report's hour (UNIX timestamp) int

Examples

1
2
3
4
5
## Not run: 
session <- osn_connect("cucu", verbose = 2)
arrivals_state_vector(session, "EDDF", "2019-04-22 00:00:00", til=NULL)

## End(Not run)

espinielli/osn documentation built on Aug. 12, 2021, 5:17 a.m.