Description Usage Arguments Value Author(s) Examples
A convenience function to retreive lists of HUCs according to a regex.
1 | getHUCList(subRegion, subhucPoly)
|
subRegion |
A HUC 02 or 04 for which to retreive a list of all HUC12s. |
subhucPoly |
A subset of HUCs for the region in question. |
A list of hucs found.
David Blodgett dblodgett@usgs.gov
1 2 3 4 5 6 7 | ## Not run:
load(system.file("extdata","testhucpoly.rda",package="HUCAgg"))
print(testhucPoly@data$HUC12)
hucList<-as.character(unlist(getHUCList("0709000205",testhucPoly)))
print(hucList)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.