convert_dates_red2r | R Documentation |
Date conversion from REDCap to R.
convert_dates_red2r(x)
x |
A string with REDCap logic, either raw or preprocessed. |
In REDCap logic, dates are represented as raw strings.
This is unlike R which requires objects to be of class 'Date' for date-like operations to be carried out on the object.
This requires conversion to facilitate date-based operations.
Preprocessed R code that can be refined further or valid R syntax that can be parsed into an expression tree for evaluation.
Other RedcapToR: convert_missing_red2r
,
format_branching_logics
,
is_hidden
,
logical_xpressions_red2r
,
xtend_chb_names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.