read.scsset | R Documentation |
Functions to read snow crab survey data.
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, ...)
x |
Survey year or file name. |
file |
File name(s). |
survey |
Survey type, as determined by the survey.scsset function. |
... |
Other parameters passed onto |
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. |
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.
scs
locate.scs
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.