adfgRead_MPD | R Documentation |
Function to extract measure pot data (MPD) as a tibble from a csv file.
adfgRead_MPD(
csv = "crab_dump.csv",
date_format = "yyyy-mm-dd",
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","mi_lon","mi_lat", "spcode","sex","shell","size","legal","count"
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.
'count' is the number of measured crab associated with the rest of the row categories. Unlike the dockside data, this is 1 for all rows (i.e., one row for each measured crab).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.