GetLiveData: GetLiveData

Description Usage Arguments Value References Examples

Description

This function provides information about current flights, like position, destination and operator in a dataframe format. Flights can be selected by different parameters.

Usage

1
GetLiveData(point = "", radius = 100, country = "", type = "")

Arguments

point

A vector containing the latitude and longitude of a specific point or a string containing the name of a city to determine a specicfic position as inital point.

radius

The number of kilometers which should be considered as radius for a circular selection area around the point

country

A string containing the country where an aircraft is registered

type

A string containing a specific aircraft type

Value

A dataframe containing latitude, longitude, operator, type, country, start and destination as well as the icao (identification) of the selected aircrafts

References

For a table of the selectable cities see world.cities. For further information see also https://www.adsbexchange.com/data/

Examples

1
2
3
4
5
6
7
8
9
flights_berlin <- GetLiveData(point = c(52.5243, 13.4063))
flights_berlin2 <- GetLiveData(point = "Berlin")
flights_vienna50 <- GetLiveData(point = "Vienna", radius = 50)

flights_australia <- GetLiveData(country = "Australia")

flights_B738 <- GetLiveData(type = "B738")

flights_mixture <- GetLiveData(point = "Paris", radius = 500, country = "Germany", type = "A320")

RichandFamous/adsb-R-project documentation built on May 5, 2019, 3:53 p.m.