Skip to contents

Returns the Sunday in the isoyearweek

Usage

isoyearweek_to_last_date(x)

# S3 method for default
isoyearweek_to_last_date(x)

# S3 method for character
isoyearweek_to_last_date(x)

Arguments

x

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

Value

Date of Sunday of that isoyearweek

Examples

isoyearweek_to_last_date(c("2019-19", "2020-01"))
#> [1] "2019-05-12" "2020-01-05"