export_positions_at_airport_fr24 | R Documentation |
Extract FlightRadar24 positions within a distance from the aerodrome for qualified airport movements (arrivals or departures or all)
export_positions_at_airport_fr24(
wef,
til,
apt,
lon_apt,
lat_apt,
flow = "ALL",
radius = 40
)
wef |
(UTC) timestamp of With Effect From (included) |
til |
(UTC) timestamp of TILl instant (excluded) |
apt |
IATA airport code, i.e. PSA for Pisa "Galileo Galilei" |
lon_apt |
airport longitude (decimal degrees, WGS84) |
lat_apt |
airport latitude (decimal degrees, WGS84) |
flow |
the flow of flights: "ARR" for arrivals, "DEP" for departures, "ALL" for both [default "ALL"] |
radius |
radius around airport to keep position reports (nautical miles [NM]) |
You need to store your credentials to access the FR24 tables in the following environment variables:
PRU_FR24_USR
for the user id
PRU_FR24_PWD
for the password
PRU_FR24_DBNAME
for the database name
dataframe of ADS-B position reports
Other read/export:
export_allft_so6()
,
export_apds()
,
export_event_so6()
,
export_event_trajectory()
,
export_flight_info()
,
export_flights_at_airport_fr24()
,
export_flights_fr24()
,
export_hourly_adsb()
,
export_model_trajectory()
,
export_movements()
,
export_positions_fr24()
,
generate_so6()
,
parse_airspace_prisme()
,
read_cpr()
,
read_flights_fr24()
,
read_positions_fr24()
,
read_so6()
## Not run:
# half a day (UTC times, not local ones!) worth of all movements at Stavanger Airport,
# Sola, Sweden on 1st Sep 2017
export_positions_at_airport_fr24("2017-09-01T00:00:00",
"2017-09-01T12:00:00",
"SVG",
5.638, 58.877)
# all arrivals within 50 NM on 25th Sep 2018 at Pisa Airport, Pisa, Italy
export_positions_at_airport_fr24("2018-09-25",
"2018-09-26",
"PSA", 10.39270, 43.68390,
flow = "ARR",
radius = 50)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.