addRoute {DrugUtilisation} | R Documentation |
addRoute(drugTable)
drugTable |
Table in the cdm that must contain drug_concept_id |
It adds route to the current table
library(DrugUtilisation)
library(dplyr)
cdm <- mockDrugUtilisation()
cdm[["drug_exposure"]] |>
addRoute()