Learn R Programming

RoME (version 0.2.4)

check_hauls_TBTA: Check of TB hauls in TA

Description

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

Usage

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

Value

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

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

Author

I. Bitetto, W. Zupa

Details

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

References

Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp.

Examples

Run this code
# \donttest{
    wd <- tempdir()
    suffix="2020-03-05_time_h17m44s55"
    DataTA <- RoME::TA
    DataTB <- RoME::TB
    check_hauls_TBTA(DataTA,DataTB,year=2008,wd,suffix)
    # }

Run the code above in your browser using DataLab