View source: R/adfgRead_TotalCatchABs.R
adfgRead_TotalCatchABs | R Documentation |
Function to get annual total catch abundance and biomass by crab fishery from a csv file.
adfgRead_TotalCatchABs(csv, skip = 5)
csv |
|
skip |
|
Uses readr::read_csv
, stringr::str_sub
, and sqldf::sqldf
.
a tibble with columns
fishery
area
year
sex
maturity
shell condition
abundance - in numbers of crab
biomass (kg)
- in kg
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.