please complete tests now

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-09-09 11:01:46 +02:00
parent ce33650501
commit d9f49e51ce
No known key found for this signature in database
5 changed files with 46 additions and 3 deletions

View File

@ -53,12 +53,13 @@ Imports:
readr, readr,
stats, stats,
shiny, shiny,
openxlsx2,
haven, haven,
readODS,
zip, zip,
assertthat assertthat,
openxlsx2,
readODS
Collate: Collate:
'REDCapCAST-package.R'
'utils.r' 'utils.r'
'process_user_input.r' 'process_user_input.r'
'REDCap_split.r' 'REDCap_split.r'

View File

@ -41,6 +41,7 @@ importFrom(REDCapR,redcap_read)
importFrom(keyring,key_get) importFrom(keyring,key_get)
importFrom(keyring,key_list) importFrom(keyring,key_list)
importFrom(keyring,key_set) importFrom(keyring,key_set)
importFrom(openxlsx2,read_xlsx)
importFrom(purrr,reduce) importFrom(purrr,reduce)
importFrom(readr,parse_time) importFrom(readr,parse_time)
importFrom(tidyr,pivot_wider) importFrom(tidyr,pivot_wider)

7
R/REDCapCAST-package.R Normal file
View File

@ -0,0 +1,7 @@
#' @keywords internal
"_PACKAGE"
## usethis namespace: start
#' @importFrom openxlsx2 read_xlsx
## usethis namespace: end
NULL

View File

@ -1,14 +1,17 @@
Andreas
Assesment Assesment
CMD CMD
Codecov Codecov
DOI DOI
DataDictionary DataDictionary
GStat GStat
Gammelgaard
Github Github
GithubActions GithubActions
JSON JSON
Lifecycle Lifecycle
METACRAN METACRAN
ORCID
POSIXct POSIXct
Pivotting Pivotting
README README

31
man/REDCapCAST-package.Rd Normal file
View File

@ -0,0 +1,31 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/REDCapCAST-package.R
\docType{package}
\name{REDCapCAST-package}
\alias{REDCapCAST}
\alias{REDCapCAST-package}
\title{REDCapCAST: REDCap Castellated Data Handling}
\description{
\if{html}{\figure{logo.png}{options: style='float: right' alt='logo' width='120'}}
Originally forked from the R part of 'REDCapRITS' by Paul Egeler. See \url{https://github.com/pegeler/REDCapRITS}. 'REDCap' database casting and handling of castellated data when using repeated instruments and longitudinal projects. Keeps a focused data export approach, by allowing to only export required data from the database. 'REDCap' (Research Electronic Data Capture) is a secure, web-based software platform designed to support data capture for research studies, providing 1) an intuitive interface for validated data capture; 2) audit trails for tracking data manipulation and export procedures; 3) automated export procedures for seamless data downloads to common statistical packages; and 4) procedures for data integration and interoperability with external sources (Harris et al (2009) \doi{10.1016/j.jbi.2008.08.010}; Harris et al (2019) \doi{10.1016/j.jbi.2019.103208}).
}
\seealso{
Useful links:
\itemize{
\item \url{https://github.com/agdamsbo/REDCapCAST}
\item \url{https://agdamsbo.github.io/REDCapCAST/}
\item Report bugs at \url{https://github.com/agdamsbo/REDCapCAST/issues}
}
}
\author{
\strong{Maintainer}: Andreas Gammelgaard Damsbo \email{agdamsbo@clin.au.dk} (\href{https://orcid.org/0000-0002-7559-1154}{ORCID})
Authors:
\itemize{
\item Paul Egeler \email{paulegeler@gmail.com} (\href{https://orcid.org/0000-0001-6948-9498}{ORCID})
}
}
\keyword{internal}