check_nm_TB: Check of consistency in number per sex set "not mandatory" in TB
Description
Check if in TB there are the total number, number of females, males and undetermined for species G1
Usage
check_nm_TB(DataTB, year, wd, suffix)
Value
The function returns TRUE if no error occurs, FALSE if one or more inconsistencies in the individuals number per sex in TB is detected.
Arguments
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
for the species G1 are not allowed that the fields related to total number, number of females, number of males and number of undetermined are simultaneously null, according to MEDITS manual version 9 of 2017.
References
Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp.