read.ctd: Read CTD data

View source: R/read.ctd.R

read.ctdR Documentation

Read CTD data

Description

Read Conductivity-Temperature-Depth (CTD) data directly from the Institut Maurice-Lamontagne (IML) SGDOP data base. In particular, the database contains the oceanographic data collected during science surveys in the southern Gulf of St. Lawrence. Oracle client needs to be set up in ODBC sources.

Usage

read.ctd(
  year,
  survey = c("rvs", "scs", "nss"),
  table = "ctd",
  dsn = "SGDOP",
  username = "SGDO_lecture",
  password,
  echo = TRUE
)

Arguments

year

Survey or study year.

survey

Character string specifying which survey to target. Available codes are the Septmeber survey (rvs), the snow crab survey (scs), and the Northumberland Strait survey (nss). The default returns data from all available surveys.

table

Name of data table (ctd, bottle or metadata).

dsn

Oracle data source name (= SGDOP).

username

Oracle user name (= SGDO_lecture).

password

Oracle password.

echo

Logical value specifying whether to return messages during data retrieval.


TobieSurette/gulf.data documentation built on Jan. 19, 2025, 7:50 p.m.