watershedByWorkspace: Returns a watershed based on "workspace" info Currently...

Description Usage Arguments

View source: R/watershed.R

Description

Returns a watershed based on "workspace" info Currently untested.

Usage

1
2
3
4
5
6
7
8
9
watershedByWorkspace(
  workspaceID,
  rcode,
  includeparameters = c("false", "true"),
  includeflowtypes = c("false", "true"),
  includefeatures = c("true", "false"),
  crs,
  simplify = NULL
)

Arguments

workspaceID

string Service workspace received from watershed service result

rcode

2-3 character code that identifies the Study Area (either a State or a Regional Study)

includeparameters

string Comma separated list of region parameters to compute. Default: true, will return all parameters for region

includeflowtypes

string Not yet implemented

includefeatures

string true Comma separated list of features to include in response. See Feature resource for more information. Default: true, returns delineated basin and pourpoint

crs

string ESPSG spatial reference code. The function rgdal::showEPSG might come in handy.

simplify

boolean Whether to simplify returned result, defaut: true Uses StreamStats API https://streamstats.usgs.gov/streamstatsservices/#


markwh/streamstats documentation built on Sept. 29, 2021, 8:42 a.m.