check_bridles_length {RoMEBS} | R Documentation |
The function performs consistency checks of the values in the "BRIDLES_LENGTH" field of the hauls data table (TA).
check_bridles_length(DataTA, wd, suffix)
DataTA |
Haul data table according to MEDITS protocol (TA) |
wd |
working directory path defined by the user |
suffix |
Suffix string of the Logfile |
The field BRIDLES_LENGTH can assume value: 100,150 and 200 according to the haul mean depth. The '-1' value was also accepted in case bridles length value is not available.
The function returns always TRUE, because the outcome of the function is a warning that does not lock the execution of the RoMEBS checks. The presence of inconsistencies in the data is reported in the logfile stored in the "Logfiles"" subdirectory of the "wd"" user-defined directory.
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(MEDITS) wd <- tempdir() suffix="2020-03-05_time_h17m44s55" library(RoMEBS) check_bridles_length(MEDITS::TA, wd, suffix)