Skip to contents

Given a REDCap data dictionary, this function returns the rows that have a field type of notes.

Usage

get_notes_fields(metadata)

Arguments

metadata

A REDCap data dictionary

Value

A long dataframe with the following columns:

field_name

The name of the field.

form_name

The form name in which the field is located.

field_type

The type of the field (this will always be notes).

weight

A uniform weight, set to 100.

Examples

if (FALSE) { # \dontrun{
notes_fields <- get_notes_fields(metadata_to_populate)
} # }