q_lls_sable_specimen | R Documentation |
longline database documentation available on akfin
q_lls_sable_specimen(
year,
area = c("goa", "bs", "ai"),
use_historical = FALSE,
db = akfin,
print_sql = FALSE,
save = TRUE
)
year |
max year to retrieve data from |
area |
options are 'goa', 'bs', 'ai', or a combo. default=c('goa', 'bs', 'ai') |
use_historical |
T/F include historical Japanese survey data in the results (default: false) |
db |
the database to query (akfin) |
print_sql |
outputs the sql query instead of calling the data (default: false) - save must be false |
save |
save the file in designated folder, if FALSE outputs to global environment |
source table on akfin: afsc.lls_age_view
saves lls sablefish specimen data as data/raw/lls_specimen_data.csv or outputs to the global environment. also saves a copy of the SQL code used for the query and stores it in the data/sql folder.
## Not run:
# sablefish specimen data in 1996 (first year ages were collected in the goa domestic survey)
# in the gulf of alaska
q_lls_specimen(year=2000, area="goa", db=db)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.