mockCohortConstructor: Function to create a mock cdm reference for CohortConstructor

View source: R/mockCohortConstructor.R

mockCohortConstructorR Documentation

Function to create a mock cdm reference for CohortConstructor

Description

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


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

cdm
}


CohortConstructor documentation built on Nov. 5, 2025, 6:53 p.m.