add_age | R Documentation |
Derive age and age band from year of birth
add_age(data, write = FALSE, measurefrom = Sys.time())
data |
a data table of patient data including at least patient id and age |
write |
boolean to save as parquet file |
measurefrom |
date to measure patient age at (eg registration date) |
data.table() of patient data with age and age band appended
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.