Skip to content

Commit

Permalink
Update to include 2022 and 2023 TRI.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmbell1 committed Jan 30, 2025
1 parent a367860 commit 7b077a2
Show file tree
Hide file tree
Showing 9 changed files with 4,172 additions and 6 deletions.
4 changes: 2 additions & 2 deletions stewi/TRI.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
https://www.epa.gov/toxics-release-inventory-tri-program/tri-basic-plus-data-files-guides
Year:
2008 - 2021
2008 - 2023
"""

Expand Down Expand Up @@ -394,4 +394,4 @@ def main(**kwargs):


if __name__ == '__main__':
main(Option='A', Year=[2021])
main(Option='C', Year=[2023])
2 changes: 1 addition & 1 deletion stewi/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
databases:
TRI:
url: https://www.epa.gov/toxics-release-inventory-tri-program/tri-basic-plus-data-files-calendar-years-1987-present
zip_url: https://www3.epa.gov/tri/current/US_{year}.zip
zip_url: https://www3.epa.gov/tri/current2/US_{year}.zip
queries:
TRI_year_reported: 'option'
TRI_zip: 'value'
Expand Down
5 changes: 4 additions & 1 deletion stewi/data/TRI/TRI_File_1a_columns.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ NPDES NR J
PARENT COMPANY NAME
PARENT COMPANY D and B NR
STANDARDIZED PARENT COMPANY NAME
FOREIGN PARENT COMPANY NAME
FOREIGN PARENT COMPANY D and B NR
STANDARDIZED FOREIGN PARENT COMPANY NAME
FRS FACILITY ID
DOCUMENT CONTROL NUMBER
CAS NUMBER
Expand All @@ -81,7 +84,7 @@ MIXTURE NAME
ELEMENTAL METAL INCLUDED
CLASSIFICATION
UNIT OF MEASURE
CLEAN AIR ACT INDICATOR
HAZARDOUS AIR POLLUTANT - HAPS
CARCINOGEN INDICATOR
PFAS INDICATOR
METAL INDICATOR
Expand Down
5 changes: 4 additions & 1 deletion stewi/data/TRI/TRI_File_3a_columns.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ MIXTURE NAME
ELEMENTAL METAL INCLUDED
CLASSIFICATION
UNIT OF MEASURE
CLEAN AIR ACT INDICATOR
HAZARDOUS AIR POLLUTANT - HAPS
CARCINOGEN INDICATOR
PFAS INDICATOR
METAL INDICATOR
Expand Down Expand Up @@ -92,6 +92,9 @@ NPDES NR J
PARENT COMPANY NAME
PARENT COMPANY DB NR
STANDARDIZED PARENT COMPANY NAME
FOREIGN PARENT COMPANY NAME
FOREIGN PARENT COMPANY D AND B NR
STANDARDIZED FOREIGN PARENT COMPANY NAME
FRS FACILITY ID
OFF-SITE RCRA ID NR
OFF-SITE TRANSFER SEQUENCE NUMBER
Expand Down
525 changes: 525 additions & 0 deletions stewi/data/TRI/TRI_chem_release_2022.csv

Large diffs are not rendered by default.

544 changes: 544 additions & 0 deletions stewi/data/TRI/TRI_chem_release_2023.csv

Large diffs are not rendered by default.

1,516 changes: 1,516 additions & 0 deletions stewi/data/TRI_2022_NationalTotals.csv

Large diffs are not rendered by default.

1,573 changes: 1,573 additions & 0 deletions stewi/data/TRI_2023_NationalTotals.csv

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion stewi/data/ValidationSets_Sources.csv
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ TRI,,2017,TRI Explorer,https://enviro.epa.gov/triexplorer/tri_release.chemical,"
TRI,,2018,TRI Explorer,https://enviro.epa.gov/triexplorer/tri_release.chemical,"Year, All of United States, All Chemicals, All Industries, Details:(Other On-Site Disposal or Other Releases, Other Off-Site Disposal or Other Releases)",11-May-2023
TRI,,2019,TRI Explorer,https://enviro.epa.gov/triexplorer/tri_release.chemical,"Year, All of United States, All Chemicals, All Industries, Details:(Other On-Site Disposal or Other Releases, Other Off-Site Disposal or Other Releases)",11-May-2023
TRI,,2020,TRI Explorer,https://enviro.epa.gov/triexplorer/tri_release.chemical,"Year, All of United States, All Chemicals, All Industries, Details:(Other On-Site Disposal or Other Releases, Other Off-Site Disposal or Other Releases)",11-May-2023
TRI,,2021,TRI Explorer,https://enviro.epa.gov/triexplorer/tri_release.chemical,"Year, All of United States, All Chemicals, All Industries, Details:(Other On-Site Disposal or Other Releases, Other Off-Site Disposal or Other Releases)",11-May-2023
TRI,,2021,TRI Explorer,https://enviro.epa.gov/triexplorer/tri_release.chemical,"Year, All of United States, All Chemicals, All Industries, Details:(Other On-Site Disposal or Other Releases, Other Off-Site Disposal or Other Releases)",29-Feb-2024
TRI,,2022,TRI Explorer,https://enviro.epa.gov/triexplorer/tri_release.chemical,"Year, All of United States, All Chemicals, All Industries, Details:(Other On-Site Disposal or Other Releases, Other Off-Site Disposal or Other Releases)",17-Jan-2025
TRI,,2023,TRI Explorer,https://enviro.epa.gov/triexplorer/tri_release.chemical,"Year, All of United States, All Chemicals, All Industries, Details:(Other On-Site Disposal or Other Releases, Other Off-Site Disposal or Other Releases)",17-Jan-2025
NEI,2017v1/2017neiJan,2017,NEI Data,https://gaftp.epa.gov/air/nei/2017/data_summaries/2017v1/2017neiJan_facility.zip,"Data Summaries tab, Facility-level by Pollutant zip file download, summed to national level",06-Aug-2021
NEI,2014v2/2014neiv2,2014,NEI Data,https://gaftp.epa.gov/air/nei/2014/data_summaries/2014v2/2014neiv2_facility.zip,"Data Summaries tab, Facility-level by Pollutant zip file download, summed to national level",06-Aug-2021
NEI,2011v2/2011neiv2,2011,NEI Data,https://gaftp.epa.gov/air/nei/2011/data_summaries/2011v2/2011neiv2_facility.zip,"Data Summaries tab, Facility-level by Pollutant zip file download, summed to national level",06-Aug-2021
Expand Down

0 comments on commit 7b077a2

Please sign in to comment.