process_catch_pacfin: Print summaries and figures for catches from PacFIN

View source: R/process_catch-.R

process_catch_pacfinR Documentation

Print summaries and figures for catches from PacFIN

Description

Print summaries and figures for catches from PacFIN

Usage

process_catch_pacfin(
  pcatch = get_local(file = "pcatch.Rdat"),
  nyears = 5,
  savedir = hakedata_wd()
)

Arguments

pcatch

An R object of PacFIN catches. The default value is loaded from the disk using get_local(). Otherwise, the R object is typically stored in the hakedata environment.

nyears

An integer specifying the number of years you want to plot, where the most recent year will be sequenced back in time nyears. The default is typically five years.

savedir

A string specifying the path of interest.

Value

The following files are saved to the disk:

  • us-shore-catch-by-month.csv

  • us-research-catch-by-month.csv

  • us-ti-catch-by-month.csv


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.