Replace checkbox TRUEs with raw_or_label values
Simple utility function for replacing checkbox field values.
replace_true(col, col_name, metadata, raw_or_label)
col
: A vectorcol_name
: A stringmetadata
: A metadata tibble from the original supertibbleraw_or_label
: Either 'raw' or 'label' to specify whether to use raw coded values or labels for the options. Default 'label'.A character string
Useful links