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