operational_status: Get operational status for a time period

Description Usage Arguments Value Examples

View source: R/operational-status.R

Description

Get operational status for a time period

Usage

1
2
3
4
5
6
7
8
operational_status(
  session,
  icao24,
  wef_time,
  til_time = NULL,
  bbox = NULL,
  debug_level = NULL
)

Arguments

session

SSH session to OSN Impala

icao24

(Optional) Single or vector of ICAO24 ICAO 24-bit addresses among those in the bounding box

wef_time

Start of period of interest

til_time

(Optional) End of period of interest, if NULL wef_time + 1 day

bbox

(Optional) axis aligned bounding box like 'c(xmin, xmax, ymin, ymax)'

debug_level

one of "DEBUG", "TRACE" or NULL (default) It prints usefult debug info, i.e. input args, query string, or traces the query results in the file 'query_output.txt'.

Value

a dataframe of operational status info (icao24, hour, rawmsg)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
osn:::operational_status(
  session = 1,
  icao24 = NULL,
  wef_time = "2019-01-01 00:00:00",
  til_time = "2019-01-01 02:00:00",
  bbox = c(xmin = 7.536746, xmax = 9.604390, ymin = 49.36732, ymax = 50.69920),
  debug_level = "DEBUG"
)

## End(Not run)

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