Skip to contents

Export the flight list of movements at an airport

Usage

export_movements(
  apt,
  wef,
  til,
  type = "both",
  lobt_buffer = c(before = 28, after = 24)
)

Arguments

apt

ICAO code of the airport, i.e. "EDDF"

wef

(UTC) timestamp of LOBT With Effect From (included). Liberal format, i.e. "2019-07-14", "2019-07-14 10:21" "2019-07-14T10:21:23Z"

til

(UTC) timestamp of LOBT TILl instant (excluded)

type

Type of movement; 'arr' for arrivals, 'dep' for departures 'both' for arrivals and departures. [default 'both']

lobt_buffer

The number of hours before and after LOBT to query [default before = 28, after = 24]. This is related to how LOBT is stored in the underlying database table.

Value

a data frame of flight movements

Examples

if (FALSE) {
export_movements("EDDF", "2020-01-20", "2020-01-21")
}