mockConcepts {omock}R Documentation

function to add mockconcept et to concept table

Description

function to add mockconcept et to concept table

Usage

mockConcepts(cdm, conceptSet, domain = "Condition", seed = 1)

Arguments

cdm

Name of the cdm object

conceptSet

conceptset as a vector

domain

the domain of the conceptSet

seed

random seed

Value

A cdm reference with the updated concept table

Examples

library(omock)
library(dplyr)

cdm <- mockCdmReference() |> mockConcepts(conceptSet = c(100,200), domain = "Condition")

cdm$concept |> filter(domain_id == "Condition")


[Package omock version 0.2.0 Index]