Convenience function to download complete instrument, using token storage in keyring.
read_redcap_instrument(
key,
uri,
instrument,
raw_or_label = "raw",
id_name = "record_id",
records = NULL
)
data.frame
key name in standard keyring for token retrieval.
REDCap database API uri
instrument name
raw or label passed to `REDCapR::redcap_read()`
id variable name. Default is "record_id".
specify the records to download. Index numbers. Numeric vector.