redcap_fields() converts a character vector to a named list that can be appended to the REDcap API parameters

redcap_fields(fields)

Arguments

fields

character. REDcap fields to select.

Value

A named list