mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 13:17:30 +02:00
new read_redcap_instrument in development
This commit is contained in:
parent
4c5d58bf82
commit
e78e0d3ff9
3 changed files with 68 additions and 0 deletions
34
man/read_redcap_instrument.Rd
Normal file
34
man/read_redcap_instrument.Rd
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
% 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}
|
||||
\title{Convenience function to download complete instrument, using token storage in keyring.}
|
||||
\usage{
|
||||
read_redcap_instrument(
|
||||
key,
|
||||
uri,
|
||||
instrument = "rbans",
|
||||
raw_or_label = "raw",
|
||||
id_name = "record_id",
|
||||
records = NULL
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
\item{key}{key name in standard keyring for token retrieval.}
|
||||
|
||||
\item{uri}{redcap api url}
|
||||
|
||||
\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".}
|
||||
|
||||
\item{records}{specify the records to download. Index numbers. Numeric vector.}
|
||||
}
|
||||
\value{
|
||||
data.frame
|
||||
}
|
||||
\description{
|
||||
Convenience function to download complete instrument, using token storage in keyring.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue