nefsc.db: nefsc.db

View source: R/nefsc.db.r

nefsc.dbR Documentation

nefsc.db

Description

Pulls the offshore lobster data from NEFSC trawl surveys as well as the strata areas. Included in the strata areas are the proportion of the total strata area incorporated in each of the offshore lobster subunits for post stratification.

Usage

nefsc.db(DS = "odbc.dump.redo", fn.root = NULL, p = p)

Arguments

DS

:the selection of data, consists of a full data dump from ODBC account through odbc.dump. Or individual data tables can be rebuilt (with .redo) or loaded as uscat,usdet,usinf,usstrata.area. Running any of the previous with the .clean arguement will clean up data, take care of vessel conversions and make it ready for further analysis

fn.root

: specify the location of data saves, default is null and uses the project.datadirectory function as default

Value

saves or loads .rdata objects named usinf, usdet, uscat, usstrat.area

Author(s)

Adam Cook, Adam.Cook@dfo-mpo.gc.ca

Examples

require(devtools)
load_all('E:/git/LobsterScience/bio.lobster') #to load from directory rather than package if modifying
nefsc.db(DS = 'odbc.dump.redo')

LobsterScience/bio.lobster documentation built on Feb. 14, 2025, 3:28 p.m.