Description Usage Arguments Value Examples
View source: R/get_airport_data.R
Retrieve flights for a certain airport which arrived within a given time interval. You should specified if you want departure or arrival flights in the function.
1 2 3 4 5 6 7 8 |
username |
Your 'OpenSky Network' username. |
password |
Your 'OpenSky Network' password. |
airport |
ICAO identifier for the airport. |
begin |
Start of time interval to retrieve flights for as Unix time (seconds since epoch). |
end |
End of time interval to retrieve flights for as Unix time (seconds since epoch). |
option |
String indicating whether you want to request the departure or arrival flights. "arrivals" or "departures". |
A dataframe with the list of flights arriving to the airport defined in airport in the period specified between begin and end.
1 2 3 4 5 6 | ## Not run: get_airport_data("your_username", "your_password", airport = "EDDF",
begin = 1517227200, end = 1517230800, option = "arrivals")
## End(Not run)
## Not run: get_airport_data("your_username", "your_password", airport = "EDDF",
begin = 1517227200, end = 1517230800, option = "departures")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.