This updates a OceanOptMergeFile.R script developed by Jon Carey. Maintains DELETE then append pattern, avoiding possibly slow rewrite of entire FisheryScalers in a project mdb with many runs. Also left as single pairwise RunIDs and fixed FisheryIDs rather than passing as args.

Script updated to include passing data from non-retention table.

rep_ocean_opt(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.