View source: R/data-item-interpreting.R
naaccr_date | R Documentation |
Parse NAACCR-formatted dates
naaccr_date(date)
date |
Character vector of dates in NAACCR format ( |
A Date
vector. Any incomplete or invalid dates are converted
to NA
. The original strings can be retrieved with the
naaccr_encode
function.
input <- c("20151031", "201408 ", "99999999")
d <- naaccr_date(input)
d
naaccr_encode(d, "dateOfDiagnosis")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.