addRoute {DrugUtilisation} | R Documentation |
add route column to a table containing drug_exposure information
Description
Usage
addRoute(drugTable)
Arguments
drugTable |
Table in the cdm that must contain drug_concept_id |
Value
It adds route to the current table
Examples
library(DrugUtilisation)
library(dplyr)
cdm <- mockDrugUtilisation()
cdm[["drug_exposure"]] |>
addRoute()
[Package DrugUtilisation version 0.7.0 Index]