month_label: Convert year and month to month label

Description Usage Arguments Examples

View source: R/dates.R

Description

Converts year and month to 'year-two digit month number-month abbreviation or name

Usage

1
month_label(year, month, abb = FALSE, upper_case = FALSE)

Arguments

year

integer vector

month

integer vector contain values from 1 to 12

abb

if TRUE month abbreviation is used instead of full name (default FALSE)

upper_case

if TRUE month abbreviation or name is upper case

Examples

1
2
3
month_label(2021, 6)
month_label(2021, 6, abb = TRUE)
month_label(2021, 6, upper_case = TRUE)

DRosenman/helpers documentation built on Dec. 17, 2021, 4:02 p.m.