Check the setup
- Python 3.10 or newer
- A notebook environment such as Jupyter or Google Colab
- An internet connection
Facility-level toxic chemical release reports for building fenceline community monitors and environmental-justice screens.
From source to product signal
Envirofacts exposes TRI facility tables through a REST URL. Start with one state and the first twenty facility rows. Reported pounds are self-reported waste-management quantities, not measured community exposure, and they are distinct from ECHO drinking-water compliance records.
Install the packages, then run the notebook cell.
python -m pip install pandas requests
import pandas as pd
import requests
response = requests.get(
"https://data.epa.gov/dmapservice/tri.tri_facility/state_abbr/equals/RI/1:20/json",
timeout=30,
)
response.raise_for_status()
facilities = pd.DataFrame(response.json())
facilities["retrieved_at_utc"] = pd.Timestamp.now(tz="UTC")
print(facilities.head())Test a useful signal
Test whether a short facility extract can support a local fenceline directory.
U.S. Environmental Protection Agency is a government source. Last verified 2026-08-17. Temporal coverage: 1987-present.