Check confidentiality using the catch data

check_confidential(
  dir = NULL,
  data,
  species,
  gear_groups,
  gear_names,
  fleet_colname,
  fleet_groups,
  fleet_names
)

Arguments

dir

Directory location to save files.

data

A data frame of WCGOP catch data

gear_groups

List of gear types to group together (example: list(c("Bottom Trawl", "Midwater Trawl"), c("Hook & Line", "Pot", "Shrimp Trawl"))).

fleet_colname

Column to use to determine areas for fleets (example: "r_state.x")

fleet_groups

List of fleet groups to use (example: list(c("WA", "OR", "CA"))).

fleet_names

Vector of fleet names (example: c("coastwide")).

gear_name

Vector of gear group names (example: c("trawl", "fixed gear")).

Author

Chantel Wetzel