filter_facilities | R Documentation |
This really helps when the same facility changes IDs. You provide a named list, where the elements of the list are vectors of one or more (DataBank) facility IDs that all "should be counted as" the corresponding name.
filter_facilities(
input_data,
...,
.name = "facility",
verbose = getOption("verbose")
)
input_data |
(tabular data) |
... |
either an (optionally named) vector or list of category IDs, or a tabular dataset having a column |
.name |
if the dot-args (above) are named, then the names will be used to populate a column in the result. |
Specifics may depend on your intent, but some commonly referenced
"sets" are provided for you by the inventory
package:
DST_REFINING_FACILTIES
DST_LANDFILL_FACILITIES
DST_POWER_FACILITIES
input_data
must contain column fac_id
filter_categories()
filter_pollutants()
find_facility_ids()
with_facility_name()
with_IRIS_site()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.