Description Usage Arguments Value Note Author(s) See Also Examples
Several functions require a particular set of columns with specific names. The required fields are: ID, x, y, Species, x_original, y_original, Correction, Modified, Reason and Exclude. Required fields that are missing can be added using addmainfields.
1 | fieldsmissing(dat, fields)
|
dat |
a dataframe containing several columns, including the x- and y-coordinates |
fields |
a character vector of the field names that are required |
An error is returned if any of the fields are missing
this function is used in pointsworld and several other functions
Mark Robertson and Vernon Visser
checkdatastr, addmainfields
1 2 | data(dat)
fieldsmissing(dat,fields=c("ID","x","y"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.