getFramTotalFisheryMortality: A helper function loading the total mortalities for all...

getFramTotalFisheryMortalityR Documentation

A helper function loading the total mortalities for all fisheries within a FRAM model run

Description

A helper function loading the total mortalities for all fisheries within a FRAM model run

Usage

getFramTotalFisheryMortality(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

return year for the run. Usually the previous calender year

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.