clean up catch data

clean_catch(
  year,
  fishery = "fsh1",
  TAC = c(3333, 2222, 1111),
  fixed_catch = NULL
)

Arguments

year

year of assessment

fishery

identify the fishery default is "fsh1"

TAC

last three TAC in form: c(year-3, year-2, year-1)

fixed_catch

if catch is frozen place the file in user_input folder (format: Year, Catch)

species

species of interest e.g., "SABL", "DUSK"

Value

Examples

if (FALSE) { clean_catch(year, TAC = c(2874, 2756, 3100), fixed_catch = "catch_1961-1992.csv") }