F.get.indiv.fish.data: F.get.indiv.fish.data

F.get.indiv.fish.dataR Documentation

F.get.indiv.fish.data

Description

Fetch the fish data for a single taxon from an Access data base. The resulting data set has one line per group of fish with the same fork length.

Usage

F.get.indiv.fish.data(site, taxon, run, min.date, max.date, keep = "unmarked")

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.

run

The text seasonal identifier. This is a one of "Spring", "Fall", "Late Fall", or "Winter".

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.

keep

A text string specifying the type of fish to retain. keep="unmarked" keeps all fish without efficiency trail marks, i.e., all fish not in efficiency trial. keep="marked" keeps only fish that were involved in an efficiency trial. keep="all", i.e., anything else, will keep all fish records — both marked and unmarked.

Details

To be included in the catch data, a record has to be from the site, of the correct taxon, of the correct run, and between min and max date. Function F.get.indiv.fish.data is called by function F.size.by.date in order to correctly format fish data for subsequent graphical reporting.

Value

A data frame containing information on individual fish, with each individual reord corresponding to fish of the same fork length.

Author(s)

WEST Inc.

See Also

F.size.by.date

Examples

## Not run: 
#   ---- Pull individual fish records from the American.
# site <- 57000
# taxon <- 161980
# run <- "Fall"
# min.date <- "2013-01-01"
# max.date <- "2013-05-30"
# keep <- "unmarked"

F.get.indiv.fish.data(site,taxon,run,min.date,max.date,keep)


## End(Not run)

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