Description Usage Arguments Value Examples
Get state vectors for a time period
1 | state_vector(session, icao24, wef, til = NULL, bbox = NULL)
|
session |
SSH session to OSN Impala |
icao24 |
(Optional) Single or vector of ICAO24 ICAO 24-bit addresses |
wef |
Start of period of interest (date or datetime) |
til |
(Optional) End of period of interest, if NULL wef_time + 1 day |
bbox |
(Optional) axis aligned bounding box like 'c(xmin, xmax, ymin, ymax)' |
data frame of state vector data containing the following variables (see also OSN docs about State Vector):
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 |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
session <- osn_connect("cucu", verbose = 2)
state_vector(
session,
icao24 = c("3c6589", "3c6757"),
wef = "2019-04-22 00:00:00",
til = "2019-04-22 10:00:00",
bbox = c(xmin = 7.536746, xmax = 9.604390, ymin = 49.36732, ymax = 50.69920)
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.