q_psc: query prohibited species catch estimate

View source: R/q_psc.R

q_pscR Documentation

query prohibited species catch estimate

Description

prohibited species catch (PSC) estimates reported in tons for halibut and herring, counts for salmon, crabs and other fish. Note that you can combine trip target codes c("k", "x") and regions - though results will be lumped together

Usage

q_psc(year, trip_target, area, server, save = TRUE)

Arguments

year

assessment year

trip_target

'p' = pollock-mid, 'b' = pollock-bottom, 'x' = rex, 'h' = shallow flats, 'k' = rockfish, 'w' = arrowtooth, 'c' = pcod, 'i' = halibut

area

goa or bsai

save

save the file in designated folder

akfin

the database to query

Examples

## Not run: 

akfin = DBI::dbConnect(odbc::odbc(), "akfin", UID = akfin_user, PWD = akfin_pwd)
q_psc(year=2022, trip_target="k", area="goa", afkin, save=FALSE)


## End(Not run)


BenWilliams-NOAA/gfdata documentation built on April 14, 2025, 7:31 a.m.