From 80f1e6fe12d088f1152abea62199522e7c7a14a4 Mon Sep 17 00:00:00 2001 From: AG Damsbo Date: Fri, 14 Apr 2023 11:47:01 +0200 Subject: [PATCH] the included dataset is updated to include special characters in form names --- R/redcapcast_data.R | 4 ++-- data-raw/redcapcast_data.R | 2 +- data/redcapcast_data.rda | Bin 922 -> 940 bytes 3 files changed, 3 insertions(+), 3 deletions(-) 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 af76e04f6a7e54559f49c4f4262f5e73628140b9..5095059e643f3adb2178cd777f4ab90abad1ea46 100644 GIT binary patch delta 927 zcmV;Q17Q4`2doDfLRx4!F+o`-Q(2&Fs~rFaIDh~D|NX{D>5&;6f1A(-m4KTDQhHR# z$PEAu0~13gMnC`tjDQ%JO)_WzG-!H_2LJ#7000000000000000G6abTAwwWx8UO&( zN2ma4kN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