Learn R Programming

DrugUtilisation (version 0.8.3)

addRoute: add route column to a table containing drug_exposure information

Description

[Deprecated]

Usage

addRoute(drugTable)

Value

It adds route to the current table

Arguments

drugTable

Table in the cdm that must contain drug_concept_id

Examples

Run this code
# \donttest{
library(DrugUtilisation)
library(dplyr)

cdm <- mockDrugUtilisation()

cdm[["drug_exposure"]] |>
  addRoute()
# }

Run the code above in your browser using DataLab