View source: R/GeospatialFunctions.R
fetchATTAINS | R Documentation |
Fetches ATTAINS features (state- or tribe- or other entity- submitted points, lines, and polygons representing their assessment units; and the EPA snapshot of the associated NHDPlus HR catchments that the state- or tribe- or other entity- submitted features fall within) within a bounding box produced from a set of TADA spatial features.
fetchATTAINS(.data, catchments_only = FALSE)
.data |
A dataframe developed using |
catchments_only |
Whether to return just the summarized ATTAINS catchment features, or both the catchments and raw ATTAINS features. TRUE or FALSE. |
Spatial features (ATTAINS_catchments, ATTAINS_points, ATTAINS_lines, and ATTAINS_polygons) that are within the spatial bounding box of water quality observations.
TADA_MakeSpatial()
TADA_DataRetrieval()
## Not run:
tada_data <- TADA_DataRetrieval(
startDate = "1990-01-01",
endDate = "1995-12-31",
characteristicName = "pH",
statecode = "NV",
applyautoclean = TRUE,
ask = FALSE
)
nv_attains_features <- EPATADA:::fetchATTAINS(tada_data, catchments_only = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.