View source: R/adfgConvert_FisheryCodes.R
adfgConvert_FisheryCodes | R Documentation |
Function to parse 4-character ADFG "fishery" codes.
adfgConvert_FisheryCodes(f)
f |
|
Uses stringr::str_sub
, wtsUtilities::substituteValues
functions.
dataframe with columns:
fishery code - f
(input vector of ADFG codes)
fishery - RKC, snow crab, Tanner crab
area - Bering Sea, Bristol Bay, CDQ, East, West, UNKNOWN
code_year - year corresponding to fishery code (NOT! fishery year, apparently)
char12 - first two characters of fishery code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.