check_associations_category_TL {RoMEBS} | R Documentation |
Check corretness of association between category and sub-category in TL consistent according to INSTRUCTION MANUAL VERSION 9
check_associations_category_TL(DataTL, assTL, wd, suffix)
DataTL |
Litter data table (TL) according to MEDITS protocol. |
assTL |
data frame with the association between TL (litter table) categories and sub-categories |
wd |
working directory path defined by the user |
suffix |
Suffix string of the Logfile |
The package uses a table of association between TL categories and sub-categories that is resident in the data folder of the package as assTL.rda file.
The function returns always TRUE, because the outcome of the function is a warning that doesnot 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. http://www.sibm.it/MEDITS 2011/principaledownload.htm
library(RoMEBS) wd <- tempdir() suffix="2020-03-05_time_h17m44s55" DataTL = RoMEBS::TL check_associations_category_TL(DataTL, assTL, wd, suffix)