getCatchDataWeight: getCatchDataWeight

View source: R/getCatchDataWeight.R

getCatchDataWeightR Documentation

getCatchDataWeight

Description

Get the catch data from the database file with the weight measurement.

Usage

getCatchDataWeight(taxon, site, min.date, max.date)

Arguments

taxon

The species identifier indicating the type of fish of interest. This is always 161980; i.e., Chinook Salmon.

site

The identification number of the site for which estimates are required.

min.date

The start date for data to include. This is a text string in the format %Y-%m-%d, or YYYY-MM-DD.

max.date

The end date for data to include. Same format as min.date.

Details

When the passage estimation routine is called with the analytical life stage assignment, this function is called. The default queries that retrieve the catch data do not include the weight measurement. This function is needed to retrieve the weight information. This function is intended for internal use only.

Value

Data.frame of the catch data with the weight measurements.

Author(s)

Jared Studyvin WEST Inc.

See Also

assignLifeStage

Examples

## Not run: 
#   ---- Get weight data from the American. 
taxon <- 169180
site <- 570000
min.date <- "2013-01-01"
max.date <- "2013-05-30"
dfWeight <- getCatchDataWeight(taxon,site,min.date,max.date)

## End(Not run)

tmcd82070/CAMP_RST documentation built on April 6, 2022, 12:07 a.m.