match_watershed_name: Match a watershed's name based on one or more regex

View source: R/get_layer_functions.R

match_watershed_nameR Documentation

Match a watershed's name based on one or more regex

Description

This function will match the names of a HUC_8 or a HUC_12 watershed found in the watershed_lookup data set.

Usage

match_watershed_name(..., pull = TRUE)

Arguments

...

One or more regex passed as character string

pull

Logical. Pull the unique values or

Value

A character string with full watershed names if pull = TRUE, or a data.frame with the number of rows equal to the number of matches otherwise

Examples

match_watershed_name("rainbow")

wdnr.gis documentation built on Oct. 26, 2023, 1:08 a.m.