check_hauls_TATB {RoMEBS} | R Documentation |
The function check the presence of the TA (haul data table) hauls in the TB (catch data table)
check_hauls_TATB(DataTA,DataTB,wd,suffix)
DataTA |
Haul data table according to MEDITS protocol (TA) |
DataTB |
Catch data table according to MEDITS protocol (TB) |
wd |
working directory path defined by the user |
suffix |
Suffix string of the Logfile |
The function check the presence of the TA (haul data table) hauls in the TB (catch data table)
The function returns always TRUE and warnings are reported in logfile inconsistencies are detected between haul and catch tables.
I. Bitetto, W. Zupa
Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp.https://www.sibm.it/MEDITS 2011/principaledownload.htm
library(RoMEBS) library(MEDITS) wd <- tempdir() suffix="2020-03-05_time_h17m44s55" DataTA <- MEDITS::TA DataTA <- DataTA[DataTA$YEAR ==2018 , ] DataTB <- MEDITS::TB DataTB <- DataTB[DataTB$YEAR ==2018 , ] check_hauls_TATB(DataTA,DataTB,wd,suffix)