FlagTows: A "Where Clause" or Filter for Bay Study Tows.

Description Usage Arguments Value References Examples

View source: R/baystudy.R

Description

Flags "valid" tows per select criteria. Typically, excluded are tows 52, 53, and 58; station #141 (only sampled a few months, then dropped); and stations #317 and #319 in 1980 and 1981-01 (split surveys, used stations #324 and #326, which were the same locations, sampled 1-2 weeks later).

Usage

1
FlagTows(data, station, year, survey, tow)

Arguments

data

Dataframe of Bay Study data with at least station, year, survey, and tow.

station

Name of field in data holding station info.

year

Name of field in data holding year (i.e., extracted from date).

survey

Name of field in data holding survey number.

tow

Name of field in data holding tow nubmer.

Value

List containing flagged records (-1 = flagged; O = OK to use) and number of records flagged.

References

Bay Study metadata (insert link).

Examples

1
# coming soon.

jasondubois/sportfish documentation built on July 3, 2020, 1:01 p.m.