Skip to contents

Extract FlightRadar24 flight movements in the specified period at an airport

Usage

export_flights_at_airport_fr24(wef, til, apt, flow = "ALL")

Arguments

wef

(UTC) timestamp of With Effect From (included)

til

(UTC) timestamp of TILl instant (excluded)

apt

IATA code of an airport, i.g. PSA for Pisa "Galileo Galilei"

flow

the flow of flights: "ARR" for arrivals, "DEP" for departures, "ALL" for both (default "ALL")

Value

a dataframe of flights

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

Examples

if (FALSE) {
export_flights_at_airport_fr24("2017-09-01T00:00:00", "2017-09-02T00:00:00",
            "SVG",
            flow = "ARR")

# only 2 hours interval
export_flights_at_airport_fr24("2017-09-01 10", "2017-09-02T11:00:00",
            "SVG",
            flow = "ARR")
}