get_govt: Get governmental unit for specified river by species

View source: R/get_govt.R

get_govtR Documentation

Get governmental unit for specified river by species

Description

Function used to get governmental unit for rivers listed in output of get_rivers from the built-in habitat data sets.

Usage

get_govt(river, species = c("ALE", "AMS", "BBH"), custom_habitat = NULL)

Arguments

river

Character string specifying river name.

species

Character string specifying species. Choices include American shad ("AMS"), alewife ("ALE"), and blueback herring ("BBH").

custom_habitat

A dataframe containing columns corresponding to the those in the output from custom_habitat_template. The default, NULL uses the default habitat data set for a given combination of species and river.

Value

A character string indicating governmental district corresponding to selected river.

Examples

get_govt(river = "Hudson", species = "AMS")


danStich/anadrofish documentation built on Jan. 17, 2025, 9:46 a.m.