Learn R Programming

PatientProfiles (version 1.3.1)

addCdmName: Add cdm name

Description

Add cdm name

Usage

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

Value

Table with an extra column with the cdm names

Arguments

table

Table in the cdm

cdm

A cdm reference object

Examples

Run this code
# \donttest{
library(PatientProfiles)

cdm <- mockPatientProfiles()
cdm$cohort1 |>
  addCdmName()
# }

Run the code above in your browser using DataLab