SetShortGearBiotic: Set short gear codes biotic

View source: R/StoxBaselineFunctions.R

SetShortGearBioticR Documentation

Set short gear codes biotic

Description

Set short gear codes for all stations. Appropriate when BioticData is read from NMDbiotic.

Usage

SetShortGearBiotic(BioticData)

Arguments

BioticData

BioticData data for which short gear codes should be set

Details

Set the column 'gear' on the table 'fishstation' in BioticData to the first two characters / digits, for all rows where the gear code currently consist of four characters.

The gear codes in NMDBiotic are conventionally organised hierarchically, so that the two first characters denote a gear group. The two character/digit system is more convenient to work with in many circumstances.

'gear' is on the table 'fishstation' in data originating from NMDBiotic (http://www.imr.no/formats/nmdbiotic/). For bioticdata that does not conform to this, no modifications are done.

Value

BioticData

See Also

RstoxData{RstoxData::StoxBiotic} For converting BioticData to StoxBioticData.


StoXProject/RstoxFDA documentation built on Dec. 17, 2024, 10:58 a.m.