F.byCatch.table: F.byCatch.table

F.byCatch.tableR Documentation

F.byCatch.table

Description

List all non-Chinook catch.

Usage

F.byCatch.table(site, min.date, max.date, output.file)

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.

output.file

The name of the file prefix under which output is to be saved. Set to NA to plot to the Plot window.

Details

Query sequence Build Report Criteria builds the appropriate time frame of interest while query series By Catch intemize the non-Chinook catch. See section Structured Query Language (SQL) Queries in F.run.sqlFile for details.

Function F.byCatch.table calls helper function F.getByCatch to obtain the non-Chinook catch.

Value

A csv file containing all non-Chinook catch, along with a png pie chart detailing underlying counts and proportions of caught species.

Author(s)

WEST Inc.

See Also

F.run.sqlFile, F.getByCatch

Examples

## Not run: 
#   ---- Find all non-Chinook catch resulting from fishing the American
#   ---- River, from Jan. 16, 2013 through June 8, 2103.  
F.byCatch.table(57000,"2013-01-16","2013-06-08",output.file="American River")

## End(Not run)

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