getWeeks: Get the ISO week of dates with or without a W

Description Usage Arguments Value Examples

Description

Get the ISO week of dates with or without a W

Usage

1
getWeeks(dates, sym = TRUE)

Arguments

dates

A string

sym

A logical

Value

A vector containing the list of the ISO weeks of dates

Examples

1
2
getWeeks(dates = c("2021-04-01", "2021-04-04", "2021-05-06"), sym = TRUE)
getWeeks(dates = c("1962-03-26", "1966-10-06", "1998-07-21", "2000-03-08"), sym = FALSE)

nathanael-g-durst/EuroCovTrackeR documentation built on Dec. 21, 2021, 11:12 p.m.