Skip to contents

Fetch ATTAINS features (entity submitted points, lines, polygons representing their assessment units; and EPA snapshot of the associated NHDPlus HR catchments that the entity submitted features fall within) within a bounding box produced from a set of TADA spatial features.

Usage

fetchATTAINS(.data)

Arguments

.data

A dataframe developed using TADA_DataRetrieval() or TADA_MakeSpatial().

Value

spatial features (ATTAINS_catchments, ATTAINS_points, ATTAINS_lines, and ATTAINS_polygons) that are within the spatial bounding box of water quality observations.

Examples

if (FALSE) {
tada_data <- TADA_DataRetrieval(
  startDate = "1990-01-01",
  endDate = "1995-12-31",
  characteristicName = "pH",
  statecode = "NV",
  applyautoclean = TRUE
)

nv_attains_features <- fetchATTAINS(tada_data)
}