Get metadata specification table
get_metadata_spec(
metadata_tbl,
selected_cols,
names_prefix,
names_sep,
names_glue
)
a tibble
A metadata tibble from the supertibble generated by read_redcap()
.
Character string vector of field names for checkbox combination
String added to the start of every variable name.
String to separate new column names from names_prefix
.
Instead of names_sep
and names_prefix
, you can supply
a glue specification and the unique .value
to create custom column names.