Skip to contents

mockCohortConstructor() creates an example dataset that can be used for demonstrating and testing the package

Usage

mockCohortConstructor(source = "local")

Arguments

source

Source for the mock cdm, it can either be 'local' or 'duckdb'.

Value

cdm object

Examples

# \donttest{
library(CohortConstructor)
if(isTRUE(omock::isMockDatasetDownloaded("GiBleed"))){
cdm <- mockCohortConstructor()

cdm
}
# }