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