discard_generic: discard_generic: Calculate discards for January fishing year...

View source: R/discard_generic.R

discard_genericR Documentation

discard_generic: Calculate discards for January fishing year species

Description

discard_generic: Calculate discards for January fishing year species

Usage

discard_generic(
  con = con_maps,
  species = species,
  FY = fy,
  all_dat = all_dat,
  save_dir = file.path(getOption("maps.discardsPath"), "calendar"),
  run_parallel = FALSE
)

Arguments

con

ROracle connection to Oracle (e.g. MAPS)

species

dataframe with species info

FY

Fishing Year

all_dat

Data frame of trips built from CAMS_OBS_CATCH and control script routine

save_dir

Directory to save (and load saved) results

run_parallel

option to run species discard calculations in parallel

Value

nothing currently, writes out to fst files (add oracle?)

Author(s)

Benjamin Galuardi


noaa-garfo/discaRd documentation built on April 17, 2025, 10:32 p.m.