NM area traffic by wake turbulence category
pbwg_weight_segment_tfc_counts.RdCounts Network Manager area flights per day and wake turbulence category,
filtering to operational statuses (TE, TA, AA) and the requested date
window. Uses eurocontrol::flights_tbl() as the base and joins aircraft
categories from PRUDEV.V_PRU_AIRCRAFT_CATEGORY (limited to PBWG-allowed
categories) before aggregating.
Arguments
- wef
Start date (inclusive). Can be anything that
lubridate::as_date()understands.- til
End date (inclusive). Can be anything that
lubridate::as_date()understands.- conn
Optional Oracle DBI::DBIConnection. When omitted a fresh connection to
PRUDEVis created viaeurocontrol::db_connection(), with access toSWH_FCT.V_FAC_FLIGHT_MSandPRUDEV.V_PRU_AIRCRAFT_CATEGORY.
Value
A tibble::tibble() with one row per day/category combination and an
attached "sql" attribute. Columns:
ENTRY_DATE: truncated IFPZ entry date (UTC).MONTH: numeric month extracted fromENTRY_DATE.YEAR: numeric year extracted fromENTRY_DATE.WK_TBL_CAT: wake turbulence category (L/M/H/J/UNK).CATEGORY1: aircraft category level 1 fromV_PRU_AIRCRAFT_CATEGORY.CATEGORY2: aircraft category level 2 fromV_PRU_AIRCRAFT_CATEGORY.FLIGHT: count of flights for the date/category combination.UNIT_CODE: fixed"NM_AREA".UNIT_NAME: fixed"Total Network Manager Area".