getRxCuiViaATC: Get RxCui via Anatomical Therapeutic Chemical Classification...

View source: R/getRxCuiViaATC.R

getRxCuiViaATCR Documentation

Get RxCui via Anatomical Therapeutic Chemical Classification System(ATC) code

Description

This is a function to get RxCui via Anatomical Therapeutic Chemical Classification System(ATC) code

Usage

getRxCuiViaATC(df, AtcColName = ATC, cores = 8)

Arguments

df

data.frame, a drug ingredient ATC code of the specific indication

AtcColName

a column name for ATC code of df

cores

number of parallel operation

Differ_ColName

if colum for NHINo of df is not named ATC

Details

Users can obtain additional drug information via other drug integrated by RxCui, such as the contraindications and indications for drugs available in the MED-RT database of the US Veterans Bureau integrated by RxNorm. User inputs the data frame with drug column which encoded in ATC code, then the output will add a column named RxCui in the original input data frame.

Value

A new data.table sample_atc_rxcui with following columns.

RxCui drug RxCui

ATC drug ATC code

Examples

# sample of getting RxCui via ATC.
sample_atc_rxcui <- getRxCuiViaATC(df = sample_ATC,AtcColName = ATC,cores = 2)
head(sample_atc_rxcui)

DHLab-CGU/pharm documentation built on July 2, 2022, 7:16 a.m.