cstime
provides date time functions for public health
purposes.
The core functionality is consistent time conversion between :
It also provides functions to generate rolling dates for computing the weekly, bi-weekly, 4 week averages.
cstime
is part of the csverse package suite.
To convert a date to isoyear:
To convert a isoyearweek string to isoyear/isoweek:
To convert a season week to isoweek (and reverse):