dateToIsoWeek: Convert an iso date to simple isoweek format

Description Usage Arguments Value Examples

View source: R/calendar.R

Description

Simplistic representation of an isoweek format is encoded here. Basically we convert 2017-11-23 to 201747 thus YYYY-MM-DD to YYYYWW.

Usage

1

Arguments

dates

ISOdates as string vector

Value

a vector of strings with ISOweeks inside

Examples

1
dateToIsoWeek(c("2017-11-23", "2015-11-23"))

DoktorMike/datools documentation built on Feb. 28, 2021, 8:39 a.m.