Generate a rectangle of data for one record

get_one_rectangle_of_values(
  one_record_id = 1,
  record_id_name,
  forms_to_fill,
  long_categorical_field_responses
)

Arguments

one_record_id

a single record_id

record_id_name

the column name the record_id should be returned in

forms_to_fill

the forms to fill for this rectangle

long_categorical_field_responses

the output of `get_long_categorical_field_responses()`

Value

a rectangle of data with appropriate REDCap identifiers ready to write to REDCap

Examples

if (FALSE) { # \dontrun{
get_one_rectangle_of_values(1, record_id_name, forms_to_fill)
} # }