| das_spcodes | R Documentation |
Read DAS SpCodes file
das_spcodes_read(file, skip = 0)
file |
character; filename of .dat file from which to read species codes |
skip |
integer; default is 3.
Number of lines to skip when reading SpCodes file.
See |
Provide a standardized function to read a shipboard DAS SpCodes file. Methods described in 'returns'
Data frame with four columns:
SpCode: species code, columns 1 to 4
Abbr: species abbreviation, columns 6 to 15
SciName: species scientific name, columns 18 to 57
CommonName: species common name, columns 58 until the end of the line
sp.codes.file <- system.file("extdata", "SpCodes_sample.dat", package = "swfscDAS")
das_spcodes_read(sp.codes.file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.