update_data_col_names {REDCapTidieR} | R Documentation |
Correctly label variables belonging to checkboxes with minus signs
Description
Using db_data
and db_metadata
, temporarily create a conversion
column that reverts automatic REDCap behavior where database column names
have "-"s converted to "_"s.
Usage
update_data_col_names(db_data, db_metadata)
Arguments
db_data |
The REDCap database output defined by
|
db_metadata |
The REDCap metadata output defined by
|
Details
This is an issue with checkbox fields since analysts should be able to verify checkbox variable suffices with their label counterparts.
Value
Updated db_data
column names for checkboxes where "-"s were
replaced by "_"s.
[Package REDCapTidieR version 1.1.1 Index]