ConvertMissingnessRedcapToR: Reshape REDCap missingness logic to appropriate R code

Description Usage Arguments Details Value See Also

Description

Convert REDCap missingness representations to corresponding R syntax.

Usage

1

Arguments

x

A string with REDCap logic, either raw or preprocessed.

Details

For code generation, code has to be translated from one DSL or syntax to another.

In this case, conversion from REDCap logic to the appropriate R syntax.

This function helps map missingness expressions from REDCap to R

Value

Preprocessed R code that can be refined further or valid R syntax that can be parsed into an expression tree for evaluation.

See Also

Other RedcapToR: convert_dates_red2r; logical_xpressions_red2r; xtend_chb_names


Maglado/redcapdata_p documentation built on May 26, 2019, 4:37 p.m.