mirror of
https://github.com/agdamsbo/stRoke.git
synced 2024-11-22 04:50:23 +01:00
43 lines
913 B
R
43 lines
913 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/read_redcap_data.R
|
|
\name{read_redcap_data}
|
|
\alias{read_redcap_data}
|
|
\title{Download REDCap data}
|
|
\usage{
|
|
read_redcap_data(
|
|
uri,
|
|
token,
|
|
records = NULL,
|
|
fields = NULL,
|
|
events = NULL,
|
|
forms = NULL,
|
|
generics = c("record_id", "redcap_event_name", "redcap_repeat_instrument",
|
|
"redcap_repeat_instance")
|
|
)
|
|
}
|
|
\arguments{
|
|
\item{uri}{REDCap database uri}
|
|
|
|
\item{token}{API token}
|
|
|
|
\item{records}{records to download}
|
|
|
|
\item{fields}{fields to download}
|
|
|
|
\item{events}{events to download}
|
|
|
|
\item{forms}{forms to download}
|
|
|
|
\item{generics}{vector of auto-generated generic variable names to ignore when discarding empty rows}
|
|
}
|
|
\value{
|
|
list of instruments
|
|
}
|
|
\description{
|
|
Wrapper function for using REDCapR::redcap_read and REDCapRITS::REDCap_split including some clean-up.
|
|
Handles
|
|
}
|
|
\examples{
|
|
# Examples will be provided later
|
|
}
|