Description Usage Arguments Value References Examples
This function provides information about current flights, like position, destination and operator in a dataframe format. Flights can be selected by different parameters.
1 | GetLiveData(point = "", radius = 100, country = "", type = "")
|
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 |
A dataframe containing latitude, longitude, operator, type, country, start and destination as well as the icao (identification) of the selected aircrafts
For a table of the selectable cities see world.cities
.
For further information see also https://www.adsbexchange.com/data/
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.