Description Usage Arguments Details Value References See Also
Extracts annual length-weight data from fishery independent surveys on the Scotian Shelf.
1 | extractLW(path, s.year, e.year)
|
path |
Filepath indicating where to create folders to store the extracted data. |
s.year |
Year for which to begin data extraction. |
e.year |
Year for which to end data extraction. |
User must define channel = odbcConnect("ptran", uid = ###, pwd
= ###)
in the global environment. This channel must have access to the
gsinf and gsdet tables from the groundfish database.
This function creates a directory to store extracted data:
path/data/lenwgt stores a separate file for each year, called lwyear.RData
(object name wt
). wt
has 4 columns: STRAT
,
SPECIES
, FLEN
(length in cm), FWT
(weight in g).
Modified code from AC's ExtractIndicators/R/biomassData.R
Other LW functions: LWdataframe
,
plot_LW
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.