validTargetEscapement: Validates the target escapement definitions for...

View source: R/importPostSeasonTemplates.R

validTargetEscapementR Documentation

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

Description

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

Usage

validTargetEscapement(
  person_name,
  fram_db_conn,
  fram_run_name,
  target_escapement,
  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

target_escapement

Target escapement for a Backward FRAM model run

Value

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


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