addCdmName: Add cdm name

View source: R/utilities.R

addCdmNameR Documentation

Add cdm name

Description

Add cdm name

Usage

addCdmName(table, cdm = omopgenerics::cdmReference(table))

Arguments

table

Table in the cdm

cdm

A cdm reference object

Value

Table with an extra column with the cdm names

Examples


library(PatientProfiles)

cdm <- mockPatientProfiles()
cdm$cohort1 %>%
  addCdmName()



PatientProfiles documentation built on Oct. 30, 2024, 9:13 a.m.