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
)

Arguments

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])

Value

dataframe of ADS-B position reports

Details

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

See also

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(), fix_flights_csvs(), fix_nulls_in_callsign(), generate_so6(), import_flights_csvs(), parse_airspace_prisme(), read_cpr(), read_flights_fr24(), read_positions_fr24(), read_so6()

Examples

if (FALSE) { # 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) }