check_haul_species_TCTB {RoME} | R Documentation |
The function checks whether all the species present in TC (biological data table) must be listed in TB (catch data table)
check_haul_species_TCTB(DataTB, DataTC, year, wd, suffix)
DataTB |
chatch data table according to MEDITS protocol (TB) |
DataTC |
Biological data table according to MEDITS protocol (TC) |
year |
reference year for the analysis |
wd |
working directory path defined by the user |
suffix |
Suffix string of the Logfile |
The function returns a worning message in the logfile.
The function returns always TRUE because the outcome of the function is a warning that does not lock the execution of the 'RoME' checks. If a species present in the TC table (biological data table) is not reported in the TB (catch data table) a warning message is given in the logfile.
I. Bitetto, W. Zupa
Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp.https://www.sibm.it/MEDITS 2011/principaledownload.htm
wd <- tempdir() suffix="2020-03-05_time_h17m44s55" year=2008 check_haul_species_TCTB(RoME::TB, RoME::TC, year, wd, suffix)