shrimp.db: shrimp.db

View source: R/shrimp.db.r

shrimp.dbR Documentation

shrimp.db

Description

This function is the main workhorse to pull data from databases and some initial filtering of data used in shrimp stock assessments. Results are saved and can be reloaded using this function.

Usage

shrimp.db(DS = "complete.redo", this.oracle.server = oracle.server,
  this.oracle.username = oracle.username,
  this.oracle.password = oracle.password,
  datadirectory = datadirectory, showprogress = F)

Arguments

DS

default is 'complete.redo' This is the main switch that selects which data source to load or operate. Options for DS include: 'complete','survey','comlogs','details','observer','millim','totals','totalsfemtran' and 'juveniles'. Any of these arguments called as listed return the data object - 'complete' loads ALL data sources. To make the data file from scratch would require a 'XXXX.redo', where XXXX is the option listed above.

this.oracle.server

This is the server

this.oracle.username

This is the username

this.oracle.password

This is the password

datadirectory

This is where you want to store your data (or where your data is already stored)

showprogress

default is FALSE

Value

Data objects that contain the data for use in further analyses.


ShrimpScience/bio.shrimp documentation built on Feb. 17, 2024, 12:26 p.m.