Learn R Programming

flightsbr (version 1.1.1)

check_input_date_format: Check whether the format of the date input is acceptable

Description

Check whether the format of the date input is acceptable

Usage

check_input_date_format(date = parent.frame()$date)

Value

Check messages.

Arguments

date

Vector. Either a 6-digit date in the format yyyymm or a 4-digit date input yyyy .

Examples

Run this code
if (FALSE)  if (interactive()) {

# get all dates available
all_dates <- get_all_dates_available()

# check dates
a <- check_date(200011, all_dates)
}

Run the code above in your browser using DataLab