# data building
require(bio.survey)
require(bio.lobster)
require(bio.groundfish)
p = bio.lobster::load.environment()
p=list()
p$libs = NULL
fp = file.path(project.datadirectory('bio.lobster'),"analysis")
la()
p$yrs = 1947:p$current.assessment.year
load_all('~/git/bio.survey/')
# run in windows environment
#Data dumps
lobster.db("season.dates.redo")
lobster.db( DS = "logs.redo", p=p) # Offshore logs monitoring documents
logsInSeason = lobster.db("process.logs.redo")
lobster.db( DS = 'annual.landings.redo', p=p) #static annual landings tabke needs to be updated by CDenton
lobster.db( DS = 'seasonal.landings.redo', p=p) #static seasonal landings table needs to be updated by CDenton
nefsc.db( DS = 'odbc.dump.redo',fn.root = file.path(project.datadirectory('bio.lobster'),'data'),p=p)
datayrs=1970:2019
groundfish.db( DS="gscat.odbc.redo", datayrs=datayrs )
groundfish.db( DS="gsdet.odbc.redo", datayrs=datayrs )
groundfish.db( DS="gsinf.odbc.redo", datayrs=datayrs )
lobster.db( DS = 'annual.landings', p=p) #static annual landings tabke needs to be updated by CDenton
lobster.db( DS = 'seasonal.landings', p=p) #static seasonal landings table needs to be updated by CDenton
inf = nefsc.db( DS = 'usinf.clean.redo',fn.root = NULL,p=p)
ca = nefsc.db( DS = 'uscat.clean.redo',fn.root = NULL,p=p)
de = nefsc.db( DS = 'usdet.clean.redo',fn.root = NULL,p=p)
nefsc.db(DS = 'usstrata.area.redo')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.