check_date {flightsbr} | R Documentation |
Check whether date input is acceptable
check_date(date, all_dates)
date |
Numeric. Either a 6-digit date in the format |
all_dates |
Numeric vector created with the get_all_dates_available() function. |
Check messages.
## Not run: if (interactive()) {
# get all dates available
all_dates <- get_all_dates_available()
# check dates
a <- check_date(200011, all_dates)
}
## End(Not run)