getHUCList | R Documentation |
A convenience function to retreive lists of HUCs according to a regex.
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 unique hucs found.
David Blodgett dblodgett@usgs.gov
## 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.