get_metadata_spec: Get metadata specification table

View source: R/combine_checkboxes.R

get_metadata_specR Documentation

Get metadata specification table

Description

Get metadata specification table

Usage

get_metadata_spec(
  metadata_tbl,
  selected_cols,
  names_prefix,
  names_sep,
  names_glue
)

Arguments

metadata_tbl

A metadata tibble from the supertibble generated by read_redcap().

selected_cols

Character string vector of field names for checkbox combination

names_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.

Value

a tibble


REDCapTidieR documentation built on April 3, 2025, 10:50 p.m.