
ISO yearweek to ISO quarter (character)
Source:R/conversion_date_isoweek_isoyear.R
isoyearweek_to_isoquarter_c.RdMaps an ISO yearweek to its ISO-week-based quarter (1 to 4), returned as a character string.
Usage
isoyearweek_to_isoquarter_c(x)
# Default S3 method
isoyearweek_to_isoquarter_c(x)
# S3 method for class 'character'
isoyearweek_to_isoquarter_c(x)Details
The quarter is derived from the ISO week part of the input. See
isoyearweek_to_isoquarter_n() for the week-to-quarter boundaries.
See also
vignette("date_conversion", package = "cstime") for worked date,
ISO year and ISO week conversions. No vignette runs this function.
Other ISO yearweek-to-character converters:
isoyearweek_to_isoweek_c(),
isoyearweek_to_isoyear_c(),
isoyearweek_to_isoyearquarter_c()