ReadInBiomass.EWC.fn: Read in the csv file of biomass observations

Description Usage Arguments Value Author(s)

Description

Read in the csv file of biomass observations from the Early West Coast surveys. Omit foreign hauls and filter by species, if desired.

Usage

1
2
ReadInBiomass.EWC.fn(dataFile, directory, species = c(NA), removeCAN =
T, verbose = F, foreignfile="foreign_hauls.csv")

Arguments

dataFile

The name of the csv data file.

directory

Directory where the data file is.

species

A vector of species codes. Default NA.

removeCAN

Logical indicating whether or not to remove tows that occurred in Canadian waters. Default TRUE.

verbose

Logical indicating whether to provide additional messages to the screen. Default FALSE.

foreignfile

Name of CSV file containing information on hauls in Canada. Default "foreign_hauls.csv".

Value

Returns a dataframe with area swept (areaFished) and catch-per-area calculated (kgPerKm2).

Author(s)

Allan Hicks


nwfscSurveyCode documentation built on May 2, 2019, 5:27 p.m.