subset_huc_polygons: subset_huc_polygons

Description Usage Arguments Value Examples

Description

Returns HUC polygons Dataset is subset on basis of area of interest

Usage

1
subset_huc_polygons(year, area.column, areas)

Arguments

year

int, the year of interest to be mapped (defines historical basis for HUCs)

area.column

chr, defines which column the areas refer to for subsetting

areas

chr, vector of codes indicating area of interest to subset on

Value

hc.sub dataframe, a subset of HUC polygon data

Examples

1
2
3
4
5
areas <- "ME" # 21 HUC8s in Maine 
area.column <- "STATES"
year <- 1995 
hc.sub <- subset_huc_polygons(year, area.column, areas)
hc.sub$HUCNAME

USGS-R/AWUDS documentation built on May 9, 2019, 6:05 p.m.