adfgRead_SPD | R Documentation |
Function to extract summary pot data (SPD) as a tibble from a csv file.
adfgRead_SPD(
csv = "TANNER-1990-2020_potsum.csv",
date_format = "mm-dd-yyyy",
returnDropped = FALSE
)
csv |
|
date_format |
|
returnDropped |
|
Uses functions readr::read_csv()
, stringr::str_sub()
.
a tibble with columns "fishery","area","EWbySA","EWbyLon","year","fishery_code", "code_year","trip","adfg","sampdate","spn","statarea","longitude","latitude", "female", "sublegal", "legal_ret", "legal_nr", "legal_ur", "tot_legal".
The 'year' values are 'crab year' based on the sample date. The 'code_year' is the ADFG fishery year based on the fishery code. Prior to rationalization, there may be differences in these two values.
value columns represent the number of crab in the category.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.