View source: R/add_form_names.R
add_form_names | R Documentation |
Adds a form name column, taking pooled data into account. This is an internal function only
add_form_names(
long_data,
pooled_vars = NULL,
data_dict = getOption("redcap_bundle")$data_dict,
mappings = getOption("redcap_bundle")$mappings,
id_field = getOption("redcap_bundle")$id_field
)
long_data |
Dataframe. A long format data frame, as created by
|
pooled_vars |
Dataframe. Dataframe attribute appended to record_data by
|
data_dict |
Dataframe. REDCap project data data_dictionary. By default,
this will be fetched from the REDCap bundle option, as created by |
mappings |
Dataframe. Redcap metadata that maps forms to events. |
id_field |
Character. Field name corresponding to the 'record_id' field. |
Marcus Lehr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.