Retrieve Classification Details for an Anatomical Therapeutic Chemical (ATC) Code
remotes::install_github('wilsontom/ATC')
> library(ATC)
# valid ATC code
> search_atc_code('A10BA02')
Level Value
1 Anatomical Main Group A ALIMENTARY TRACT AND METABOLISM
2 Therapeutic Sub-Group A10 DRUGS USED IN DIABETES
3 Pharmacological Sub-Group A10B BLOOD GLUCOSE LOWERING DRUGS, EXCL. INSULINS
4 Chemical Sub-Group A10BA Biguanides
5 Chemcial Substance metformin
6 ATC A10BA02
# invalid ATC code
> search_atc_code('A092X')
Error: Invalid ATC Code