Catch report generator

catch_report(
  title,
  authors,
  stock,
  area,
  year,
  last_full_year,
  next_full_year,
  catch_data_date,
  output_dir = NULL
)

Arguments

title

what do you want to call it?

authors

who are the authors

stock

a lowercase shorthand that matches with the data file https://docs.google.com/spreadsheets/d/1uHmCuY3GXfSBCbsP61nAQeATBfoslXeS3PQNLlioWIk/edit#gid=0

area

lowercase typically "GOA" or "BSAI", though other "BSAI" areas can be called (e.g., Bogoslof) - must match the google sheet names

year

current year

last_full_year

last year that a full assessment was done

next_full_year

next year that a full assessment is scheduled to occur

catch_data_date

date that catch data are through, e.g., "November 5, 2023"

output_dir

default output is the project, if you have a year folder the something like "2023" to id which folder to place the results in

Examples