R/02-01-format-functions.R
as_yyyymm.Rd
Splits a six-character YYYYMM value into a hyphenated "YYYY-MM" string. NA is returned unchanged.
YYYYMM
"YYYY-MM"
NA
as_yyyymm(x)
A single YYYYMM value (numeric or character).
A "YYYY-MM" character string, or NA if x is NA.
x
as_yyyy(), as_mm()
as_yyyy()
as_mm()