Skip to contents

What this set of functions should do:

  • check that we have all the required data columns

  • add the delay and delay group

  • calculate the punctuality per phase

Early (-15,-5]","Early (-5,0]","Late (0,5)","Late [5,15)","Within (-5,5)","Within (-15,15)"

Usage

calc_punctuality(.apdf, .apt)

check_punc_vars(.apdf)

add_delay_and_dlygrp(.apdf)

pivot_daily_dly_by_grp(.dlys, .dly_order = dly_order)

calc_earlylatewithin_bins(.dlys_wide)

Arguments

.apdf

APDF tibble

.apt

study airport of interest

.dlys

tible of delays

.dly_order

vector of sorted ordering

.dlys_wide

summary pivot tibble with delays in wide format

Value

tibble of results

apdf_version vector of boolean flags for format version

Examples