Skip to contents

src_epa_tri_data() returns a dataframe of facilities reporting into the Toxic Release Inventory.

Usage

src_epa_tri_data()

Source

Value

A data frame (data.frame) containing data pulled from the Envirofacts API.

Details

The Envirofacts Multisystem Search integrates information from a variety of databases and includes latitude and longitude information. Each of these databases contains information about facilities that are required to report activity to a state or federal system. The TRI contains information about all facilities releasing reportable toxic materials, identified as carcinogenic or not.

Author

Todd Burus tburus@uky.edu

Examples

# example code

tri = src_epa_tri_data()
#> INFO  [15:32:29.334] Starting epa_tri_data
#> INFO  [15:32:43.032] Completing epa_tri_data

colnames(tri)
#> [1] "Type"            "Name"            "Address"         "State"          
#> [5] "Phone_number"    "Noncarcinogenic" "Carcinogenic"    "latitude"       
#> [9] "longitude"      

dplyr::glimpse(tri)
#> Rows: 21,623
#> Columns: 9
#> $ Type            <chr> "Toxic Release Inventory Facility", "Toxic Release Inv…
#> $ Name            <chr> "Hp Hood Llc - Agawam Plant", "Culpeper Of Belchertown…
#> $ Address         <chr> "233 Main St, Agawam, MA 01001", "201 Old Springfield …
#> $ State           <chr> "MA", "MA", "MA", "MA", "MA", "MA", "MA", "MA", "MA", …
#> $ Phone_number    <chr> "", "", "", "", "", "", "", "", "", "", "", "", "", ""…
#> $ Noncarcinogenic <chr> "Nitric acid", "Copper compounds", "Formic acid", "Zin…
#> $ Carcinogenic    <chr> "", "", "Epichlorohydrin", "", "", "", "Cobalt, Nickel…
#> $ latitude        <dbl> 42.08469, 42.26149, 42.18194, 42.17553, 42.18839, 42.1…
#> $ longitude       <dbl> -72.61897, -72.40526, -72.60917, -72.61462, -72.59982,…