validFisheries: Validates the fishery definitions for parametrization of the...

View source: R/importPostSeasonTemplates.R

validFisheriesR Documentation

Validates the fishery definitions for parametrization of the FRAM model. This function checks that all the fisheries are valid, relative to the base period and that all the fisheries identified are the responsibility of the identified person.

Description

Validates the fishery definitions for parametrization of the FRAM model. This function checks that all the fisheries are valid, relative to the base period and that all the fisheries identified are the responsibility of the identified person.

Usage

validFisheries(
  person.name,
  fram.db.conn,
  fram.run.name,
  fishery.scalars,
  data.dir
)

Arguments

person.name

the name of the person for the import file

fram.db.conn

FRAM ODBC database connection

fram.run.name

FRAM run name from the import file

fishery.scalars

fishery catch data provided from the import file

Value

A boolean, TRUE for valid or FALSE for when there is issues with the catch


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