Checking main fields
.checkfields(dat, xf, yf, ef, tf, lf, cf, idf, verbose = FALSE)Original dataframe, dat. Used primarily to generate warning messages.
A dataframe containing occurrence data for checking.
character. Name of the field where the x coordinate is stored (typically longitude). Default is x.field
character. Name of the field where the y coordinate is stored (typically latitude). Default is y.field
character. Name of the field where the elevation of data collection is stored in the original dataset. Default is e.field.
character. Name of the field where the date of data collection is stored in the original dataset. Default is t.field.
character. Name of the field where the toponim/location of data collection is stored in the original dataset. Default is l.field.
character. Name of the field where the registered country of data collection is stored in the original dataset. Default is c.field.
character. Name of the field of the id of the observation
logical. Print messages? Default to FALSE
Mark Robertson and Vernon Visser (original function), Josep M Serra Diaz (modifs)
checking main fields (inspired by addmainfields .
Other checks:
.addmainfields2(),
.check.geospatial.data(),
.checkdatastr2(),
.status.tracker.and.escaping()