rccdates: 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.

AuthorErik Bulow
Date of publication2016-07-01 16:33:32
MaintainerErik Bulow <erik.bulow@rccvast.se>
LicenseGPL-2
Version1.0.0

View on CRAN

Files in this package

rccdates
rccdates/inst
rccdates/inst/doc
rccdates/inst/doc/rccdates.R
rccdates/inst/doc/rccdates.html
rccdates/inst/doc/rccdates.Rmd
rccdates/tests
rccdates/tests/testthat.R
rccdates/tests/testthat
rccdates/tests/testthat/test-as.Dates.data.frame.R
rccdates/tests/testthat/test-internals.R
rccdates/tests/testthat/test-as.year.R
rccdates/tests/testthat/test_asDate.R
rccdates/tests/testthat/test-as.Dates.Date.R
rccdates/tests/testthat/test-lt.R
rccdates/tests/testthat/test-as.Dates.default.R
rccdates/NAMESPACE
rccdates/R
rccdates/R/internals.R rccdates/R/as.Dates.Date.R rccdates/R/rccdates.R rccdates/R/as.Dates.default.R rccdates/R/lt.R rccdates/R/as.Dates.data.frame.R rccdates/R/asDate.R rccdates/R/as.Dates.R rccdates/R/as.year.R rccdates/R/as.Dates.year.R
rccdates/vignettes
rccdates/vignettes/rccdates.Rmd
rccdates/README.md
rccdates/MD5
rccdates/build
rccdates/build/vignette.rds
rccdates/DESCRIPTION
rccdates/man
rccdates/man/rccdates.Rd rccdates/man/as.yyww.Rd rccdates/man/as.Dates.Rd rccdates/man/asDate.Rd rccdates/man/as.year.Rd rccdates/man/lt.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.