read.scs: Read Snow Crab Survey Data

read.scssetR Documentation

Read Snow Crab Survey Data

Description

Functions to read snow crab survey data.

Usage

read.scsset(x, file, survey, ...)

read.scscat(x, file, survey, species, ...)

read.scsbio(
  x,
  file,
  survey,
  species = 2526,
  category,
  drop = TRUE,
  echo = FALSE,
  ...
)

read.scslen(x, file, survey, species, ...)

Arguments

x

Survey year or file name.

file

File name(s).

survey

Survey type, as determined by the survey.scsset function.

...

Other parameters passed onto locate functions or used to subset data.

species

Species code or name.

drop

Logical value specifying whether to remove empty data rows.

echo

Logical value specifying whether to report information as data is being read.

year

Survey year(s).

tow.id

Numeric value or character string specifying the ID corresponding to a particular tow sampling station.

Functions

  • read.scsset(): Read southern Gulf of Saint Lawrence snow crab survey set data.

  • read.scscat(): Read southern Gulf of Saint Lawrence snow crab survey by-catch data.

  • read.scsbio(): Read southern Gulf of Saint Lawrence snow crab survey biological data.

  • read.scslen(): Read southern Gulf of Saint Lawrence snow crab survey by-catch length data.

See Also

scs

locate.scs

Examples

 
# Read snow crab survey set data files:
x <- read.scsset(year = 2019)      # Read single year.
x <- read.scsset(year = 2010:2015) # Read range of years.

# Read specific tow data:
x <- read.scsset(2020, valid = 1)  # Load only valid tows.
x <- read.scsset(2020, tow.id = "GP354F")
x <- read.scsset(2020, date = "2020-07-13")
x <- read.scsset(2020, zone = "F")

# Using snow crab set data to specify corresponding biological data:
b <- read.scsbio(read.scsset(2020, valid = 1, zone = "F"))
b <- read.scsbio(2020, category = "MI")


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