diff --git a/R/redcapcast_data.R b/R/redcapcast_data.R index 8e3636c..19c3912 100644 --- a/R/redcapcast_data.R +++ b/R/redcapcast_data.R @@ -19,14 +19,14 @@ #' \item{hypertension}{Hypertension, character} #' \item{diabetes}{diabetes, character} #' \item{region}{region, character} -#' \item{base_complete}{Completed, character} +#' \item{baseline_data_start_complete}{Completed, character} #' \item{mrs_assessed}{mRS Assessed, character} #' \item{mrs_date}{Assesment date, date} #' \item{mrs_score}{Score, numeric} #' \item{mrs_complete}{Complete, numeric} #' \item{event_date}{Event date, date} #' \item{event_type}{Event type, character} -#' \item{event_complete}{Completed, character} +#' \item{new_event_complete}{Completed, character} #' #' } #' @usage data(redcapcast_data) diff --git a/data-raw/redcapcast_data.R b/data-raw/redcapcast_data.R index 245d5f0..150396e 100644 --- a/data-raw/redcapcast_data.R +++ b/data-raw/redcapcast_data.R @@ -1,6 +1,6 @@ ## code to prepare `redcapcast_data` dataset goes here -redcapcast_data <- REDCapR::redcap_read(redcap_uri = uri, +redcapcast_data <- REDCapR::redcap_read(redcap_uri = keyring::key_get("DB_URI"), token = keyring::key_get("cast_api"), raw_or_label = "label" )$data diff --git a/data/redcapcast_data.rda b/data/redcapcast_data.rda index af76e04..5095059 100644 Binary files a/data/redcapcast_data.rda and b/data/redcapcast_data.rda differ