API Reference#

SurVigilance UI#

UI()

The UI class runs a Streamlit dashboard.

Scrapers#

AU DAEN#

scrape_daen_sb(medicine[, output_dir, ...])

Scrapes the reported MedDRA Preferred Terms and counts for a given medicine from the Australian DAEN database.

DK DMA#

scrape_dma_sb(medicine[, output_dir, ...])

Scrapes the reported MedDRA Preferred Terms and counts for a given medicine from the Danish Medicines Agency database.

NL Lareb#

scrape_lareb_sb(medicine[, output_dir, ...])

Scrapes the reported MedDRA Preferred Terms and counts for a given medicine from Lareb.

NZ MEDSAFE#

scrape_medsafe_sb(searching_for, drug_vaccine)

Scrapes NZ Medsafe database for a given medicine or vaccine, for System Organ Class (SOC), PTs and associated count.

USA FAERS#

scrape_faers_sb([output_dir, headless, ...])

Scrapes all available years and associated quarters from the FAERS website for which data is available.

download_file(url[, download_dir, timeout, ...])

Save a file from a direct link using requests module.

USA VAERS#

download_vaers_zip_sb(year[, download_dir, ...])

Navigate the VAERS intermediate page, solve CAPTCHA, and download the ZIP.

WHO VigiAccess#

scrape_vigiaccess_sb(medicine[, output_dir, ...])

Scrapes the reported MedDRA Preferred Terms and counts for a given medicine from VigiAccess.

Internet Connectivity#

check_site_connectivity([url, timeout])

Checks if a given URL or list of URLs is reachable by making a HEAD request.