subset_atc: Subset WHO ATC Codes

View source: R/get_who.R

subset_atcR Documentation

Subset WHO ATC Codes

Description

Subset ATC codes into the minimal code based on the level of query.

Usage

subset_atc(atc, query = c("first", "second", "third", "fourth"))

Arguments

atc

WHO ATC code.

query

The level to subset the code at. Options are "first" (default), "second", "third", "fourth".

Value

The subsetted code.

Examples

subset_atc("R06AE", "first")
subset_atc("R06AE", "second")

nt-williams/rxnorm documentation built on April 11, 2025, 11:05 p.m.