Date Functions for Swedish Cancer Data

Identify, convert and handle dates as used within the Swedish cancer register and associated cancer quality registers in Sweden. Especially the cancer register sometimes use nonstandard date variables where day and/or month can be "00" or were the date format is a mixture of"%Y-%m-%d", "%Y%m%d" and "%y%V" (two digit year and week number according to ISO 8601,which is not completely supported by R).These dates must be approximated to valid dates before being used in for example survival analysis. The package also includes some convenient functions for calculating "lead times" (relying on 'difftime') and introduce a "year" class with relevant S3-methods to handle yearly cohort.

Build status Monthly downloads Total downloads

Functions for handling dates (in different formats) within Swedish Regional Cancer Centers.

Install package by (first install package "devtools" from CRAN if not already done).



Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0.0 by Erik Bulow, 5 years ago

Report a bug at

Browse source code at

Authors: Erik Bulow

Documentation:   PDF Manual  

GPL-2 license

Imports rccmisc

Suggests testthat, knitr, rmarkdown

See at CRAN