Generate all months with yyyymm format in a year

generate_all_months(date)

Arguments

date

Numeric. 4-digit date in the format yyyy.

Value

Vector or strings.

Examples

if (FALSE)  if (interactive()) {
# Generate all months in 2000
a <- check_date(2000)
}