get_ATC_name: Look up ATC code name on the WHO website

View source: R/metadata.R

get_ATC_nameR Documentation

Look up ATC code name on the WHO website

Description

Look up the drug name from an ATC code using the WHO DDD website. Requires an internet connection.

Usage

get_ATC_name(x, silent = FALSE)

Arguments

x

a character vector of ATC codes

silent

if TRUE, the progress bar will be hidden. The default is FALSE.

Value

a character vector of ATC names (lowercase).

References

Adapted from atc_online_property() with thanks to the AMR package authors.

Examples

get_ATC_name("J01XA01")

ramses-antibiotics/ramses-package documentation built on Feb. 13, 2024, 1:01 p.m.