Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides computational pharmacovigilance methods for adverse drug event databases, safety signal detection, and disproportionality analysis.
73% 91%+18 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 16 of 22 without it.
3 of 3 safety checks passed
Not used yet
A skill for computational pharmacovigilance research, covering adverse drug event (ADE) databases, signal detection algorithms, disproportionality analysis, and safety surveillance methods used in post-market drug monitoring.
| Database | Operator | Coverage | Access |
|---|---|---|---|
| FAERS (FDA Adverse Event Reporting System) | FDA | US spontaneous reports | Free quarterly downloads |
| EudraVigilance | EMA | European reports | Research access via application |
| VigiBase | WHO-UMC | Global (150+ countries) | Research license |
| VAERS | CDC/FDA | US vaccine adverse events | Free download |
| MAUDE | FDA | Medical device reports | Free download |
import pandas as pd
import zipfile
import os
def load_faers_quarter(data_dir: str, year: int, quarter: int) -> dict:
"""
Load FAERS quarterly data files into DataFrames.
Downloads available from: fis.fda.gov/extensions/FPD-QDE-FAERS/FPD-QDE-FAERS.html
Returns dict of DataFrames for each file type.
"""
prefix = f"faers_ascii_{year}Q{quarter}"
tables = {}
file_map = {
"DEMO": "demographics", # Patient demographics
"DRUG": "drugs", # Drug information
"REAC": "reactions", # Adverse reactions (MedDRA terms)
"OUTC": "outcomes", # Patient outcomes
"INDI": "indications", # Drug indications
"THER": "therapy", # Therapy dates
"RPSR": "report_sources", # Report source
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.