adfgRead_TotalCatchABs: Get annual total catch abundance and biomass by crab fishery...

View source: R/adfgRead_TotalCatchABs.R

adfgRead_TotalCatchABsR Documentation

Get annual total catch abundance and biomass by crab fishery from a csv file

Description

Function to get annual total catch abundance and biomass by crab fishery from a csv file.

Usage

adfgRead_TotalCatchABs(csv, skip = 5)

Arguments

csv
  • the csv file name

skip
  • number of lines to skip (default=5)

Details

Uses readr::read_csv, stringr::str_sub, and sqldf::sqldf.

Value

a tibble with columns

  • fishery

  • area

  • year

  • sex

  • maturity

  • ⁠shell condition⁠

  • abundance - in numbers of crab

  • biomass (kg) - in kg

Note

The input csv should be the exported "item4a" worksheet from the Excel spreadsheet provided annually by ADFG for Tanner crab. These are the "official" estimates of total catch abundance and biomass of Tanner crab in the crab fisheries.


wStockhausen/tcsamFisheryDataADFG documentation built on April 18, 2023, 12:56 p.m.