From 9d95b438d831aafedeedde5d5c21be5428d8ded4 Mon Sep 17 00:00:00 2001 From: Andreas Gammelgaard Damsbo Date: Thu, 18 Jan 2024 14:58:18 +0100 Subject: [PATCH] Updated the test data to provide better cases for testing the new `ds2dd_detailed()` --- R/redcapcast_data.R | 11 ++++++----- man/redcapcast_data.Rd | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/R/redcapcast_data.R b/R/redcapcast_data.R index 19c3912..78097d1 100644 --- a/R/redcapcast_data.R +++ b/R/redcapcast_data.R @@ -10,8 +10,9 @@ #' \item{redcap_repeat_instrument}{Repeat instrument, character} #' \item{redcap_repeat_instance}{Repeat instance, numeric} #' \item{cpr}{CPR number, character} -#' \item{inclusion}{Inclusion date, date} -#' \item{dob}{Date of birth, date} +#' \item{inclusion}{Inclusion date, Date} +#' \item{inclusion_time}{Inclusion time, hms} +#' \item{dob}{Date of birth, Date} #' \item{age}{Age decimal, numeric} #' \item{age_integer}{Age integer, numeric} #' \item{sex}{Legal sex, character} @@ -21,10 +22,10 @@ #' \item{region}{region, 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_date}{Assesment date, Date} +#' \item{mrs_score}{Categorical score, numeric} #' \item{mrs_complete}{Complete, numeric} -#' \item{event_date}{Event date, date} +#' \item{event_datetime}{Event datetime, POSIXct} #' \item{event_type}{Event type, character} #' \item{new_event_complete}{Completed, character} #' diff --git a/man/redcapcast_data.Rd b/man/redcapcast_data.Rd index 0f7696f..ee4b2c2 100644 --- a/man/redcapcast_data.Rd +++ b/man/redcapcast_data.Rd @@ -12,8 +12,9 @@ A data frame with 22 variables: \item{redcap_repeat_instrument}{Repeat instrument, character} \item{redcap_repeat_instance}{Repeat instance, numeric} \item{cpr}{CPR number, character} - \item{inclusion}{Inclusion date, date} - \item{dob}{Date of birth, date} + \item{inclusion}{Inclusion date, Date} + \item{inclusion_time}{Inclusion time, hms} + \item{dob}{Date of birth, Date} \item{age}{Age decimal, numeric} \item{age_integer}{Age integer, numeric} \item{sex}{Legal sex, character} @@ -23,10 +24,10 @@ A data frame with 22 variables: \item{region}{region, 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_date}{Assesment date, Date} + \item{mrs_score}{Categorical score, numeric} \item{mrs_complete}{Complete, numeric} - \item{event_date}{Event date, date} + \item{event_datetime}{Event datetime, POSIXct} \item{event_type}{Event type, character} \item{new_event_complete}{Completed, character}