Description Usage Arguments Value Examples
View source: R/movements-at-airport.R
NOTE: flight data is simplified in OSN, e.g. altitudes are discretized to multiples of 1000 feet.
1 |
session |
SSH session to OSN Impala |
apt |
ICAO ID of arrival airport, i.e. "EDDF" for Frankfurt |
wef |
(UTC) timestamp of _**W**ith **E**ffect **F**rom_, WEF, (included). Results such that 'lastseen' >= 'wef' |
til |
(UTC) timestamp of with effect unTIL, TIL, (excluded), if NULL it is interpreted as WEF + 1 day. Results such that 'lastseen' < 'til'. |
duration |
amount of minutes back from 'lastseen', default = 20. |
data frame of flight and track data 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 |
day | flight's day | int |
firstseen | first seen by OpenSky Network (UNIX timestamp) | int |
lastseen | last seen by OpenSky Network (UNIX timestamp) | int |
estdepartureairport | Estimated departure airport | chr |
estarrivalairport | Estimated arrival airport | chr |
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.altitude | position report's barometric altitude (meters) | dbl |
item.heading | true track in decimal degrees clockwise from north (north=0°) | dbl |
item.onground | TRUE if the position was retrieved from a surface position report | lgl |
1 2 3 4 5 | ## Not run:
session <- osn_connect("cucu", verbose = 2)
arrivals(session, "EDDF", "2019-04-22 00:00:00", til=NULL)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.