Skip to contents

Generate all months with yyyymm format for a given year

Usage

generate_all_months(date)

Arguments

date

Numeric. 4-digit date in the format yyyy. The function also takes multiple years.

Value

Vector or strings.

Examples

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

b <- check_date(c(2000, 2005))
} # \dontrun{}