R/create_DT.R

Defines functions create_DT

Documented in create_DT

##' @title

##' @return
##' @author Aaron Conway
##' @export
#' @importFrom dplyr select starts_with ends_with
create_DT <- function(data) {
  data %>%
    select(
      -starts_with("redcap"), -ends_with("complete"), -thirst_change,
      -starts_with("screen"),
      -ends_with("complete_factor"),
      -studyid, -`1`
    )
}
awconway/ptds documentation built on Oct. 20, 2020, 11:05 p.m.