diff --git a/DESCRIPTION b/DESCRIPTION index d47eecc..f0433f1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -53,12 +53,13 @@ Imports: readr, stats, shiny, - openxlsx2, haven, - readODS, zip, - assertthat + assertthat, + openxlsx2, + readODS Collate: + 'REDCapCAST-package.R' 'utils.r' 'process_user_input.r' 'REDCap_split.r' diff --git a/NAMESPACE b/NAMESPACE index 670ff33..12fa76a 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -41,6 +41,7 @@ importFrom(REDCapR,redcap_read) importFrom(keyring,key_get) importFrom(keyring,key_list) importFrom(keyring,key_set) +importFrom(openxlsx2,read_xlsx) importFrom(purrr,reduce) importFrom(readr,parse_time) importFrom(tidyr,pivot_wider) diff --git a/R/REDCapCAST-package.R b/R/REDCapCAST-package.R new file mode 100644 index 0000000..bf8985d --- /dev/null +++ b/R/REDCapCAST-package.R @@ -0,0 +1,7 @@ +#' @keywords internal +"_PACKAGE" + +## usethis namespace: start +#' @importFrom openxlsx2 read_xlsx +## usethis namespace: end +NULL diff --git a/inst/WORDLIST b/inst/WORDLIST index 55d9ff4..ea8aa62 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -1,14 +1,17 @@ +Andreas Assesment CMD Codecov DOI DataDictionary GStat +Gammelgaard Github GithubActions JSON Lifecycle METACRAN +ORCID POSIXct Pivotting README diff --git a/man/REDCapCAST-package.Rd b/man/REDCapCAST-package.Rd new file mode 100644 index 0000000..2787378 --- /dev/null +++ b/man/REDCapCAST-package.Rd @@ -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}