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.

Documentation

Manual: rccdates.pdf
Vignette: rccdates

Maintainer: Erik Bulow <erik.bulow at rccvast.se>

Author(s): Erik Bulow

Install package and any missing dependencies by running this line in your R console:

install.packages("rccdates")

Depends R (>= 2.10)
Imports rccmisc
Suggests testthat, knitr, rmarkdown
Enhances
Linking to
Reverse
depends
Reverse
imports
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package rccdates
Materials
URL
Task Views
Version 1.0.0
Published 2016-07-01
License GPL-2
BugReports https://bitbucket.com/cancercentrum/rccdates/issues
SystemRequirements
NeedsCompilation no
Citation
CRAN checks rccdates check results
Package source rccdates_1.0.0.tar.gz