getOSNallStateVectors: getOSNallStateVectors

Description Usage Arguments Details Value See Also Examples

Description

A function to get all available details of flights by plane icao transponder adress at a specific time - call to Opensky Network API.

Usage

1
2
3
getOSNallStateVectors(icao24 = NULL, time = NULL,
  latitude.min = NULL, longitude.min = NULL, latitude.max = NULL,
  longitude.max = NULL, login = NULL, password = NULL)

Arguments

icao24

character vector, one or more ICAO24 transponder addresses (e.g. "abc9f3")

time

character, to retrieve flights vector as "YYYY-MM-DD HH:MM:SS"

latitude.min

numeric, lower bound for the latitude in decimal degrees (optional)

longitude.min

numeric, lower bound for the longitude in decimal degrees

latitude.max

numeric, upper bound for the latitude in decimal degrees

longitude.max

numeric, upper bound for the longitude in decimal degrees

login

OSN login information

password

OSN password information associated to the login provided

Details

Limitations for anonymous (unauthenticated) users can only get the most recent state vectors, i.e. the time parameter will be ignored. Anonymous users can only retrieve data with a time resultion of 10 seconds. That means, the API will return state vectors for time now−(now mod 10). This annonymous mode is not implemented in this function

Limitations for OpenSky users OpenSky users can retrieve data of up to 1 hour in the past. If the time parameter has a value t<now−3600 the API will return 400 Bad Request. OpenSky users can retrieve data with a time resultion of 5 seconds. That means, if the time parameter was set to t, the API will return state vectors for time t−(t mod 5).

Value

The response is a JSON array of flights where each flight is an object with properties

See Also

https://opensky-network.org/apidoc/rest.html#all-state-vectors

https://en.wikipedia.org/wiki/Aviation_transponder_interrogation_modes#ICAO_24-bit_address

Examples

1
2
3
4
5
6
7
## Not run: 
getOSNallStateVectors(icao24 = NULL,
                      time = "2018-01-29 00:00:00",
                      login = "login",
                      password = "my pasword")

## End(Not run)

longwei66/flightR documentation built on May 18, 2019, 2:35 a.m.