R/data.R

#' Example import data
#'
#' Simulated import data for the most common REDCap field types and validations
#' to be used with the data dictionary \code{importdemo_dict} for testing of
#' \code{redcap_import_select} and \code{redcap_import_recode}. Item names and coding
#' show mismatches on purpose so that the interactive functions can be tested.
#'
#' @format A data frame with 17 observations and 32 variables.
#'
"importdemo_data"


#' Example data dictionary
#'
#' Simulated data dictionary for the most common REDCap field types and
#' validations to be used with the sample data \code{importdemo_data} for testing of
#' \code{redcap_import_select} and \code{redcap_import_recode}. Item names and coding
#' show mismatches on purpose so that the interactive functions can be tested.
#'
#' @format A data frame with 38 variable specifications.
#'
"importdemo_dict"
aghaynes/redcaptools documentation built on April 5, 2025, 9:28 a.m.