getFramTotalEscapement: A helper function loading the stock specific escapement from...

getFramTotalEscapementR Documentation

A helper function loading the stock specific escapement from a FRAM model run

Description

A helper function loading the stock specific escapement from a FRAM model run

Usage

getFramTotalEscapement(fram.db.conn, run.name, run.year)

Arguments

fram.db.conn

An ODBC connection to the FRAM database

run.name

The name of the model run you would like to load fishery mortalities for

run.year

The run year for the run name, used as a cross check when loading the data

Value

A dataframe with the mortalities from the FRAM fisheries for a specific model run name

Exceptions

The method checks the run year of the model run against a provided value, if they don't match then the method throws an exception.


PSC-CoTC/AnnualReport documentation built on March 26, 2022, 9:33 a.m.