isoyearweek_to_isoweek_n: ISO yearweek to week (numeric)

View source: R/conversion_date_isoweek_isoyear.R

isoyearweek_to_isoweek_nR Documentation

ISO yearweek to week (numeric)

Description

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

Usage

isoyearweek_to_isoweek_n(x)

## Default S3 method:
isoyearweek_to_isoweek_n(x)

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

Arguments

x

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

Value

ISO week in numeric

Examples

isoyearweek_to_isoweek_n('2020-19')

cstime documentation built on May 31, 2023, 9:27 p.m.