nsink_get_huc_id: Look up HUC 12 ID from a HUC name

View source: R/nsink_get_data.R

nsink_get_huc_idR Documentation

Look up HUC 12 ID from a HUC name

Description

This function takes a HUC Name and returns matching HUC 12 IDs. The default behavior is to select all possible matching IDs without matching the case of the string. If an exact match is required, use the exact argument.

Usage

nsink_get_huc_id(huc_name, exact = FALSE)

Arguments

huc_name

Character string of a HUC Name or partial HUC name

exact

Logical indicating whether or not to do an exact match

Value

A data frame with HUC_12 and HU_12_NAME that match the huc_name

Examples

nsink_get_huc_id(huc_name = "Niantic River")

USEPA/nsink documentation built on Feb. 8, 2025, 12:27 p.m.