Analysis of Harvey-related TCEQ emissions reports — September update
This repository contains data and Python code used to analyze emissions reports submitted by industrial facilities to the Texas Commission on Environmental Quality's Air Emission Event Reporting Database. It updates, and slightly expands, a similar analysis from late August.
Please see this related article for additional context.
Table Of Contents
The main inputs are the TCEQ emissions reports, scraped from the commission's database. For recent emissions reports, we started with report number 265500 and incremented the report number until we could find no more reports, as of the morning of Sept. 14, 2017. Those raw report pages, as HTML files, are available in the
For the 48 facilities we identified as reporting Harvey-related emissions, we also scraped their reports of emissions events that began or ended in 2015 or 2016, using TCEQ's Central Registry (e.g.). Those historical emissions reports can be found in the
We also created a text file,
disaster-declaration-counties.txt, listing the 54 counties that Gov. Greg Abbott included on the State Disaster Declaration through Aug. 27.
Finally, the file
reports-to-ignore.txt includes emissions reports that, based on reporting, either appear to be duplicative of subsequent reports or appear to be unrelated to Harvey.
00-parse-reports notebook, we extract structured data from the raw HTML reports, and save it to two files:
01-analyze-reports notebook, we analyze the data extracted from the reports, limiting the findings to reports (a) in the 54 counties above, (b) indicating an event-beginning date of August 23 or later, and (c) of the type "AIR SHUTDOWN", "AIR STARTUP", or "EMISSIONS EVENT". The main results can be found in these two files:
To reproduce the findings, you'll need to do the following:
- Ensure that you have installed Jupyter, Python, and the Python libraries listed in
- Clear the
output/directory. (Shortcut: run
- Use Jupyter to run each notebook in the
notebooks/directory consecutively. (Shortcut: run
make reproduce; requires Python 3.)
Feedback / Questions?
Contact Jeremy Singer-Vine at firstname.lastname@example.org.
Looking for more from BuzzFeed News? Click here for a list of our open-sourced projects, data, and code.