check_no_empty_fields {RoME} | R Documentation |
All the fields, except to HYDROLOGICAL_STATION and OBSERVATIONS, must be not empty for valid hauls
check_no_empty_fields(Data, year, wd, suffix)
Data |
one of the different data tables defined by the MEDITS protocol (TX) |
year |
reference year for the analysis |
wd |
working directory path defined by the user |
suffix |
Suffix string of the Logfile |
The routine uses all the table format (TX) defined by the MEDITS protocol.
The function returns TRUE if no error occurs, while FALSE is returned when there is one or more empty record in the given TX table.
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" Data = RoME::TA year=2007 check_no_empty_fields(Data, year, wd, suffix)