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

getFramFisheryMortalityR Documentation

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

Description

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

Usage

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

Value

A dataframe with the mortalities from the FRAM fisheries and time steps 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.