Learn R Programming

CodelistGenerator (version 4.0.0)

availableDoseUnits: Get available dose units

Description

Get the available dose units

Usage

availableDoseUnits(cdm, standardConcept = "Standard")

Value

A character vector with available routes.

Arguments

cdm

A cdm reference to an OMOP CDM dataset. If data is held within a database, the vocabulary tables should be in the same schema as the clinical tables (person, observation period, and so on).

standardConcept

Character vector with one or more of "Standard", "Classification", and "Non-standard". These correspond to the flags used for the standard_concept field in the concept table of the cdm.

Examples

Run this code
# \donttest{
library(CodelistGenerator)
library(omock)

# Create CDM object
cdm <- mockCdmReference()

# Get all dose units available in the CDM
availableDoseUnits(cdm = cdm)
# }

Run the code above in your browser using DataLab