Return the ICAO AIRAC id for a date (or a vector of)
Arguments
- date
a (vector of) date(s) (or a representation of it understood by
lubridate::ymd())
Examples
airac('2027-01-30')
#> [1] "2701"
airac(c('2024-01-25', '2027-01-30', NA))
#> [1] "2401" "2701" NA