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.


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).

devtools::install_bitbucket("cancercentrum/rccdates")

News

Reference manual

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

install.packages("rccdates")

1.0.0 by Erik Bulow, 10 months ago


Report a bug at https://bitbucket.com/cancercentrum/rccdates/issues


Browse source code at https://github.com/cran/rccdates


Authors: Erik Bulow


Documentation:   PDF Manual  


GPL-2 license


Imports rccmisc

Suggests testthat, knitr, rmarkdown


See at CRAN