check_hauls_TATB {RoME}R Documentation

Check of TA hauls in TB

Description

The function check the presence of the TA (haul data table) hauls in the TB (catch data table)

Usage

check_hauls_TATB(DataTA,DataTB,year,wd,suffix)

Arguments

DataTA

Haul data table according to MEDITS protocol (TA)

DataTB

Catch data table according to MEDITS protocol (TB)

year

reference year for the analysis

wd

working directory path defined by the user

suffix

Suffix string of the Logfile

Details

The function check the presence of the TA (haul data table) hauls in the TB (catch data table)

Value

The function returns TRUE if no error occurs, while FALSE is returned when an inconsistency is detected between haul and catch tables.

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


    wd <- tempdir()
    suffix="2020-03-05_time_h17m44s55"
    DataTA <- RoME::TA
    DataTB <- RoME::TB
    year = 2008
    check_hauls_TATB(DataTA,DataTB,year,wd,suffix)


[Package RoME version 0.1.22 Index]