read_coho_cohort: Extract JA3 starting cohort values from Coho FRAM database

View source: R/read_coho_cohort.R

read_coho_cohortR Documentation

Extract JA3 starting cohort values from Coho FRAM database

Description

Extract JA3 starting cohort values from Coho FRAM database

Usage

read_coho_cohort(db, runs = NULL, stocks = NULL)

Arguments

db

string, file path to database

runs

numeric, RunID(s) as ID or ID:ID, default NULL for all runs

stocks

numeric, StockID(s) as ID or ID:ID, default NULL for all stocks

Value

a tibble of JA3 starting cohort values; already only age 3 in TimeStep 1; these represent forecasts for a preseason database, backwards-FRAM constructed abundances for post-season

Examples

## Not run: 

#fetch all runs for WA stocks
read_coho_cohort("path/to/FRAM_Database.mdb", stocks = 1:164)
#fetch a single run for a single stock
read_coho_cohort("path/to/FRAM_Database.mdb", stocks = 161)


## End(Not run)


FRAMverse/framr documentation built on Jan. 29, 2023, 1:55 a.m.