Scraping resultsĪs of May 7th, 2020 there are 6,331 unique ATC codes and 5,517 unique names in the WHO website. At ATC level 5, some but not all classes have the additional fields Administration Route, Defined Daily Dose (DDD), and Note these will also be scraped if present. For example, if provided with 'C10', it will download C10 and all subcodes under C10.įrom ATC levels 1 to 4, you get the codes and names of all classes. The code runs recursively down the hierarchy from an input ATC code. It reads ATC classes and their information, and writes to one flat CSV file. This script scrapes the World Health Organization's ATC website ( ). Scrape Anatomical-Therapeutic-Chemical (ATC) classes from the WHO Collaborating Centre for Drug Statistics Methodology website codename: atcd