check_G1_G2 {RoMEBS}R Documentation

Check of length measurements for G1 and G2 species

Description

Check if for G1 and G2 species the length measurements are present in TC

Usage

check_G1_G2(DataTC, wd, suffix)

Arguments

DataTC

Biological data table according to MEDITS protocol (TC)

wd

working directory path defined by the user

suffix

Suffix string of the Logfile

Details

This check uses a new support table (list_g1_g2) containing the list of MEDITS G1 and G2 species and verify if the length has been collected for the selected species for each haul. If the length is lacking for any species in any haul, a warning message is given 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. If the length is lacking for any species in any haul, a warning message is given in the logfile.

Author(s)

I. Bitetto, W. Zupa

References

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

Examples

library(RoMEBS)
library(MEDITS)
wd <- tempdir()
suffix="2020-03-05_time_h17m44s55"
check_G1_G2(MEDITS::TC,wd,suffix)

[Package RoMEBS version 0.3.0 Index]