F.get.all.catch.data: F.get.all.catch.data

F.get.all.catch.dataR Documentation

F.get.all.catch.data

Description

Fetch catch data for a single taxon from an Access data base.

Usage

F.get.all.catch.data(site, taxon, min.date, max.date)

Arguments

site

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

taxon

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

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.get.all.catch.data is called from within function F.chinookByDate.table, and helps to obtain all records pertaining to a particular taxon. Generally, it is expected this value is always 161980, i.e., Chinook Salmon.

Value

A data frame entitled visit. To be included, a record has to be from the correct site and taxon, and be between the values specified by min.date and max.date.

See Also

F.all.catch.table

Examples

## Not run: 
#   ---- Fetch all catch data from the American.
site <- 57000
taxon <- 161980
min.date <- "2013-01-01"
max.date <- "2013-06-01"

visit <- F.get.all.catch.data(site,taxon,min.date,max.date)

## End(Not run)

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