F.getByCatch: F.getByCatch

F.getByCatchR Documentation

F.getByCatch

Description

Retreive all non-Chinook catch data between two dates at a site.

Usage

F.getByCatch(site, min.date, max.date)

Arguments

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

Function F.getByCatch utilizes query sequence By Catch to obtain all non-Chinook records within a catch. See section Structured Query Language (SQL) Queries in function F.run.sqlFile for details.

Value

A csv with all non-Chinook records between the two dates specified at the specified site.

Author(s)

WEST Inc.

See Also

F.run.sqlFile

Examples

## Not run: 
#' #   ---- Fetch all by-catch data from the American.
site <- 57000
min.date <- "2013-01-01"
max.date <- "2013-06-01"
df <- F.getByCatch(site,min.date,max.date)

## End(Not run)

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