isoyearweek_to_isoquarter_c: ISO yearweek to quarter (character)

View source: R/conversion_date_isoweek_isoyear.R

isoyearweek_to_isoquarter_cR Documentation

ISO yearweek to quarter (character)

Description

This function breaks the string connected with '-' into year/quarter

Usage

isoyearweek_to_isoquarter_c(x)

## Default S3 method:
isoyearweek_to_isoquarter_c(x)

## S3 method for class 'character'
isoyearweek_to_isoquarter_c(x)

Arguments

x

Year-week, e.g. "2020-19" for 19th week in 2020

Value

ISO quarter in character

Examples

isoyearweek_to_isoquarter_c('2020-19')

cstime documentation built on Nov. 5, 2025, 5:47 p.m.