readECHO_fac | R Documentation |
This function extracts facility information from EPA ECHO based on argument inputs.
readECHO_fac(..., df = FALSE)
... |
Additional arguments to be passed to ECHO query path. See https://echo.epa.gov/tools/web-services/facility-search-water#!/Facility_Information/get_cwa_rest_services_get_facility_info for optional arguments for facilities. Note that arguments for output are ignored. |
df |
Logical. If TRUE, extract geometry coordinates from list format and return as columns in data frame. |
A data frame of EPA ECHO facility information
# Read facility locations in Utah
ut_fac=readECHO_fac(p_st="ut", p_act="y")
head(ut_fac)
# Read facility locations for two permit IDs
two_fac=readECHO_fac(p_pid=c("UT0021717","UT0025241"))
two_fac
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.