Learn R Programming

wdnr.gis (version 0.1.5)

match_watershed_name: 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)

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

Arguments

...

One or more regex passed as character string

pull

Logical. Pull the unique values or

Examples

Run this code
match_watershed_name("rainbow")

Run the code above in your browser using DataLab