query non-target species catch estimate
q_nontarget.Rdnon-target catch estimates by weight (or numbers)
Arguments
- year
assessment year
- target
targeted species: 'p' = pollock-mid, 'b' = pollock-bottom, x' = rex, 'h' = shallow flats, 'k' = rockfish, 'w' = arrowtooth, 'c' = pcod, 'i' = halibut
- area
fmp_area (GOA, BSAI) or fmp_subarea (BS, AI, WG, CG, WY, EY, SE) - also available (SEI, PWSI)
- db
data server to connect to (akfin)
- save
save the file in designated folder (default = T) or the global environment
Examples
if (FALSE) { # \dontrun{
akfin = afscdata::connect()
q_nontarget(year=2022, target="k", area="goa", db=akfin, save=FALSE)
disconnect(akfin)
} # }