This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# exec(open('GetAdverseEventsForOTdrugs.py').read()) | |
import requests | |
import json | |
# Drug names are keys in all three dictionaries | |
Drugs = {} # Count of the different adverse events per drug | |
DrugsAE = {} # The adverse events for each drug | |
Drugs_ChEMBLID = {} # Drug name to ChEMBL ID mapping |