new version 2023.12.1 with two bug fixes and a new wrapper function

This commit is contained in:
Andreas Gammelgaard Damsbo 2023-12-20 09:01:40 +01:00
commit 31c6994ce3
17 changed files with 2042 additions and 12 deletions

22
man/easy_redcap.Rd Normal file
View file

@ -0,0 +1,22 @@
% 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{
easy_redcap(project.name, widen.data = TRUE, ...)
}
\arguments{
\item{project.name}{The name of the current project (for key storage with
`keyring::key_set()`)}
\item{widen.data}{argument to widen the exported data}
\item{...}{arguments passed on to `REDCapCAST::read_redcap_tables()`}
}
\value{
data.frame or list depending on widen.data
}
\description{
Secure API key storage and data acquisition in one
}

17
man/get_api_key.Rd Normal file
View file

@ -0,0 +1,17 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/easy_redcap.R
\name{get_api_key}
\alias{get_api_key}
\title{Retrieve project API key if stored, if not, set and retrieve}
\usage{
get_api_key(key.name)
}
\arguments{
\item{key.name}{character vector of key name}
}
\value{
character vector
}
\description{
Retrieve project API key if stored, if not, set and retrieve
}