rep_ocean_opt_coho: Convenience function to replicate fishery inputs across FRAM...

View source: R/rep_ocean_opt_coho.R

rep_ocean_opt_cohoR Documentation

Convenience function to replicate fishery inputs across FRAM RunIDs

Description

This transfers FisheryScalers and NonRetention table values from one to another run, as is necessary during PFMC STT examination of multiple ocean options. Maintains DELETE then append pattern originally developed by Jon Carey, avoiding possibly slow rewrite of entire FisheryScalers in a project mdb with many runs.

Usage

rep_ocean_opt_coho(db, run_from, run_to)

Arguments

db

string, file path to database

run_from

numeric, "donor" run

run_to

numeric, "recipient" run

Value

Nothing, but database tables are altered.


FRAMverse/framr documentation built on Jan. 29, 2023, 1:55 a.m.