ECHO_modules is a Python package for analyzing a copy of the US Environmental Protection Agency's (EPA) Enforcement and Compliance History Online (ECHO) database
GNU General Public License v3.0
3
stars
6
forks
source link
Update utilities.py with a point symbol mapper #24
Adds a function to the utilities file to display a point symbol map of the Dataframe passed in. A point symbol map represents each facility as a point, with the size of the point scaled to the data value (e.g. inspections, violations) proportionally or through quartiles.
CWA inspections in the HUC12 watersheds intersecting with zip code 14226 (boundaries not shown). Orange circles proportionally scaled to the number of inspections, black circles = CWA-regulated facilities not inspected.
CWA penalties in the HUC12 watersheds intersecting with zip code 14226 (boundaries not shown). Orange circles scaled via quartiles to the total penalties levied, black circles = other CWA-regulated facilities not penalized.
Adds a function to the utilities file to display a point symbol map of the Dataframe passed in. A point symbol map represents each facility as a point, with the size of the point scaled to the data value (e.g. inspections, violations) proportionally or through quartiles.
See example use here: https://colab.research.google.com/drive/1-cYD4Kpq5_BWp4AV1xiupZDiFNgggAI_#
CWA inspections in the HUC12 watersheds intersecting with zip code 14226 (boundaries not shown). Orange circles proportionally scaled to the number of inspections, black circles = CWA-regulated facilities not inspected.
CWA penalties in the HUC12 watersheds intersecting with zip code 14226 (boundaries not shown). Orange circles scaled via quartiles to the total penalties levied, black circles = other CWA-regulated facilities not penalized.