
ISO yearweek to ISO yearquarter (character)
Source:R/conversion_date_isoweek_isoyear.R
isoyearweek_to_isoyearquarter_c.RdMaps an ISO yearweek to a combined ISO year and quarter string of the form "yyyy-Qn".
Usage
isoyearweek_to_isoyearquarter_c(x)
# Default S3 method
isoyearweek_to_isoyearquarter_c(x)
# S3 method for class 'character'
isoyearweek_to_isoyearquarter_c(x)Details
The output keeps the year part of the input and appends the ISO-week-based
quarter (see isoyearweek_to_isoquarter_c()), for example "2020-Q2".
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_isoquarter_c(),
isoyearweek_to_isoweek_c(),
isoyearweek_to_isoyear_c()