Look up the drug name from an ATC code using the WHO DDD website. Requires an internet connection.
get_ATC_name(x, silent = FALSE)a character vector of ATC codes
if TRUE, the progress bar will be hidden.
The default is FALSE.
a character vector of ATC names (lowercase).
Adapted from atc_online_property() with thanks to
the AMR package authors.
get_ATC_name("J01XA01")
#> [1] "vancomycin"