REDCapCAST/man/read_redcap_instrument.Rd

38 lines
870 B
Plaintext
Raw Permalink Normal View History

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_redcap_instrument.R
\name{read_redcap_instrument}
\alias{read_redcap_instrument}
2024-02-27 13:20:21 +01:00
\title{Convenience function to download complete instrument, using token storage
in keyring.}
\usage{
read_redcap_instrument(
key,
uri,
2024-02-05 14:46:37 +01:00
instrument,
raw_or_label = "raw",
id_name = "record_id",
records = NULL
)
}
\arguments{
\item{key}{key name in standard keyring for token retrieval.}
2024-02-05 14:46:37 +01:00
\item{uri}{REDCap database API uri}
\item{instrument}{instrument name}
\item{raw_or_label}{raw or label passed to `REDCapR::redcap_read()`}
\item{id_name}{id variable name. Default is "record_id".}
2024-02-27 13:20:21 +01:00
\item{records}{specify the records to download. Index numbers.
Numeric vector.}
}
\value{
data.frame
}
\description{
2024-02-27 13:20:21 +01:00
Convenience function to download complete instrument, using token storage
in keyring.
}