check_species_TBTC {RoMEBS}R Documentation

Function checking if all the target species in the catch data table (TB) are in Biological data table (TC)

Description

This function verifies the presence of the target species (that is a subset of the all the species caught, reported in TB), in the TC table, where additional information (apart from number and weight) are collected.

Usage

check_species_TBTC(ResultTB,ResultTC,DataSpecies,wd,suffix)

Arguments

ResultTB

Catch data table(TB).

ResultTC

Biological data table (TC).

DataSpecies

Information related to target species.

wd

Working directory selected by the user.

suffix

Suffix string of the Logfile.

Details

This function gives a warning message, thus the execution is not stopped when some target species are lacking in TC; the user is informed in the Logfile.

Value

The function returns always TRUE, because the outcome of the function is a warning that does not lock the execution of the RoMEBS checks.

Author(s)

I. Bitetto, W. Zupa

References

Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp. http://www.sibm.it/MEDITS 2011/principaledownload.htm

Examples

library(MEDITS)
library(RoMEBS)
wd=tempdir()
suffix= "2020-03-05_time_h17m44s55"
check_species_TBTC(TB,TC,DataTargetSpecies,wd,suffix)

[Package RoMEBS version 0.3.0 Index]