cpue_output: Read in OR index table information

View source: R/tables_cpue.R View source: R/cpue_output.R

cpue_outputR Documentation

Read in OR index table information

Description

Read in OR index table information

Read in OR index table information

Usage

cpue_output(grep, fleet)

cpue_output(grep, fleet)

Arguments

grep

A regex for the file names in data-raw that will pick up all three files.

fleet

The fleet name from get_fleet.

Examples

unlink(file.path("tables", "tables_cpue.csv"))
unlink(file.path("figures", "figures_cpue.csv"))
cpue_output(
  grep = "OR_ORBS_CPUE", fleet = "OR"
)
cpue_output(
  grep = "OR_COMM_NSLOG_CPUE", fleet = "Fix"
)
## Not run: 
unlink(file.path(dirname(system.file(package=utils_name())),
  "tables", "tables_cpue.csv")
)
unlink(file.path(dirname(system.file(package=utils_name())),
  "figures", "figures_cpue.csv")
)
cpue_output(
  grep = "OR_COMM_NSLOG_CPUE", fleet = "Fix"
)
cpue_output(
  grep = "OR_ORBS_CPUE", fleet = "OR"
)

## End(Not run)

iantaylor-NOAA/Lingcod_2021 documentation built on Oct. 30, 2024, 6:42 p.m.