2023-12-20 09:01:40 +01:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
|
|
|
% Please edit documentation in R/easy_redcap.R
|
|
|
|
\name{easy_redcap}
|
|
|
|
\alias{easy_redcap}
|
|
|
|
\title{Secure API key storage and data acquisition in one}
|
|
|
|
\usage{
|
2024-02-05 14:46:20 +01:00
|
|
|
easy_redcap(project.name, widen.data = TRUE, uri, ...)
|
2023-12-20 09:01:40 +01:00
|
|
|
}
|
|
|
|
\arguments{
|
|
|
|
\item{project.name}{The name of the current project (for key storage with
|
2024-11-28 14:32:03 +01:00
|
|
|
\link[keyring]{key_set}, using the default keyring)}
|
2023-12-20 09:01:40 +01:00
|
|
|
|
|
|
|
\item{widen.data}{argument to widen the exported data}
|
|
|
|
|
2024-02-05 14:46:20 +01:00
|
|
|
\item{uri}{REDCap database API uri}
|
|
|
|
|
2024-11-28 14:32:03 +01:00
|
|
|
\item{...}{arguments passed on to \link[REDCapCAST]{read_redcap_tables}.}
|
2023-12-20 09:01:40 +01:00
|
|
|
}
|
|
|
|
\value{
|
|
|
|
data.frame or list depending on widen.data
|
|
|
|
}
|
|
|
|
\description{
|
|
|
|
Secure API key storage and data acquisition in one
|
|
|
|
}
|
2024-11-28 14:32:03 +01:00
|
|
|
\examples{
|
|
|
|
\dontrun{
|
|
|
|
easy_redcap("My_new_project",fields=c("record_id","age","hypertension"))
|
|
|
|
}
|
|
|
|
}
|