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)
cdm <- mockCohortConstructor()

cdm


CohortConstructor documentation built on Dec. 23, 2025, 9:07 a.m.