Toward a National Database of Boil Water Advisories in the United States Using Web Scraping and Large Language Models

Read full text
Authors: Eli Cook, Landon T. Marston, Alasdair Cohen
Cited by: 0

Abstract

Boil water advisories (BWAs) are essential public health alerts issued when drinking water safety is compromised, yet the United States lacks a centralized database to track these events. Such a dataset would enable epidemiological studies, infrastructure resilience assessments, and policy analysis to better understand advisory causes, impacts, and regional disparities. This research introduces a scalable framework for building this database and a generalizable methodology for converting unstructured online information into machine-readable datasets. Our approach integrates automated web scraping with large language models (LLMs) to extract and standardize advisory attributes such as location, duration, and cause. Preliminary validation compares U.S. data against ground-truth datasets from Canada and Kentucky to assess coverage and accuracy, with early findings indicating substantial capture of advisories despite variability in reporting formats. Future work will refine search strategies to improve precision and extend this methodology to other domains lacking centralized data, such as water quality violations and emergency notifications. This study demonstrates the potential of combining web scraping and LLM-based text processing to address critical data gaps in environmental and public health monitoring.

Fields of Study & Subjects

Web Data Mining and Analysis Data-Driven Disease Surveillance Computational and Text Analysis Methods

Publication details

Journal / source
EGU General Assembly Conference Abstracts
Publication date
13 March 2026
Language
EN