R/data.R

#' Cohort A
#'
#' Example dataset of cohort data
#'
#' @format A data frame with 10,000 rows and 9 columns
#'
#' @source Simulated data
"cohort_a"

#' Cohort B
#'
#' Example dataset of cohort data
#'
#' @format A data frame with 5,000 rows and 5 columns
#'
#' @source Simulated data
"cohort_b"

#' Cohort C
#'
#' Example dataset of cohort data
#'
#' @format A data frame with 7,000 rows and 5 columns
#'
#' @source Simulated data
"cohort_c"

#' Harmonization sheet example
#'
#' Example of a harmonization sheet. This serves as the input file for the harmonization function.
#'
#' @format A data frame with 16 rows and 12 columns
#'
#' @source  Created data
"harmonization_sheet_example"

#' Error harmonization sheet example
#'
#' Example of harmonization sheet. This harmonization sheet has a few typos
#' present (incorrect name of variable and/or dataset). This can be used to
#' demonstrate how errors are presented in the error log and/or the summary
#' method.
#'
#' @format A data frame with 16 rows and 12 columns
#'
#' @source  Created data
"error_harmonization_sheet_example"

Try the psHarmonize package in your browser

Any scripts or data that you put into this service are public.

psHarmonize documentation built on April 4, 2025, 1:50 a.m.