Fixes SLid in SL table (facilitating SS-SL joins).
Arguments
- RDBESDataObject
A valid RDBESDataObject
- verbose
(Optional) Set to TRUE if you want informative text printed out, or FALSE if you don't. The default is FALSE.
- validate
(Optional) Should the function validate its input data? The default is TRUE.
- strict
(Optional) If the function validates its input data - should the validation be strict? The default is TRUE.
Details
RDBES SL can be seen as a join of two tables - one that identifies the species list in terms of SLcou * SLinst * SLspeclistName * SLyear * SLcatchFrac and one that specifies the taxa (SLcommTaxon * SLsppCode) in the list. In SS, SLid remits to the 1st taxa in a species list and not - as it would be expected - to the species list itself. This function fixes this by creating a new SLtaxaId variable in SL and assigning all taxa in a species to a single SSid.