get_region: Get region for specified river by species

View source: R/get_region.R

get_regionR Documentation

Get region for specified river by species

Description

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

Usage

get_region(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.

Examples

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


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