mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-21 05:59:07 +02:00
including data and sorting vignette. still work to be done.
This commit is contained in:
parent
349ff695e1
commit
09690777a8
14 changed files with 184 additions and 27 deletions
35
R/redcapcast_data.R
Normal file
35
R/redcapcast_data.R
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
#' Data set for demonstration
|
||||
#'
|
||||
#' This is a small dataset from a REDCap database for demonstrational purposes.
|
||||
#' Contains only synthetic data.
|
||||
#'
|
||||
#' @format A data frame with 22 variables:
|
||||
#' \describe{
|
||||
#' \item{record_id}{ID, numeric}
|
||||
#' \item{redcap_event_name}{Event name, character}
|
||||
#' \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{age}{Age decimal, numeric}
|
||||
#' \item{age_integer}{Age integer, numeric}
|
||||
#' \item{sex}{Legal sex, character}
|
||||
#' \item{cohabitation}{Cohabitation status, character}
|
||||
#' \item{hypertension}{Hypertension, character}
|
||||
#' \item{diabetes}{diabetes, character}
|
||||
#' \item{region}{region, character}
|
||||
#' \item{base_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}
|
||||
#'
|
||||
#' }
|
||||
#' @usage data(redcapcast_data)
|
||||
"redcapcast_data"
|
||||
|
||||
|
||||
29
R/redcapcast_meta.R
Normal file
29
R/redcapcast_meta.R
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#' REDCap matedata from data base
|
||||
#'
|
||||
#' This metadata dataset from a REDCap database is for demonstrational purposes.
|
||||
#'
|
||||
#' @format A data frame with 22 variables:
|
||||
#' \describe{
|
||||
#' \item{field_name}{field_name, character}
|
||||
#' \item{form_name}{form_name, character}
|
||||
#' \item{section_header}{section_header, character}
|
||||
#' \item{field_type}{field_type, character}
|
||||
#' \item{field_label}{field_label, character}
|
||||
#' \item{select_choices_or_calculations}{select_choices_or_calculations, character}
|
||||
#' \item{field_note}{field_note, character}
|
||||
#' \item{text_validation_type_or_show_slider_number}{text_validation_type_or_show_slider_number, character}
|
||||
#' \item{text_validation_min}{text_validation_min, character}
|
||||
#' \item{text_validation_max}{text_validation_max, character}
|
||||
#' \item{identifier}{identifier, character}
|
||||
#' \item{branching_logic}{branching_logic, character}
|
||||
#' \item{required_field}{required_field, character}
|
||||
#' \item{custom_alignment}{custom_alignment, character}
|
||||
#' \item{question_number}{question_number, character}
|
||||
#' \item{matrix_group_name}{matrix_group_name, character}
|
||||
#' \item{matrix_ranking}{matrix_ranking, character}
|
||||
#' \item{field_annotation}{field_annotation, character}
|
||||
#' }
|
||||
#' @usage data(redcapcast_meta)
|
||||
"redcapcast_meta"
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue