Skip to contents

Label legs (segments) of a trajectory (time ordered sequence of ICAO24 addresses). Add a colum to identify the leg.

Usage

identify_trajectory_legs(.trjs, .grp_var = .data$ICAO24, .max_gap = 3)

Arguments

.trjs

tibble/dataframe of state vectors (flight identification and 4D)

.grp_var

variable in .trjs used to separate/group flights, defaults to ICAO24

.max_gap

in minutes; defaults to 3 minutes (e.g. low approach)

Value

augmented state vector tibble

Examples

if (FALSE) {
state_vectors |> identify_trajectory_legs()
}