dot-checkfields: Checking main fields

.checkfieldsR Documentation

Checking main fields

Description

Checking main fields

Usage

.checkfields(dat, xf, yf, ef, tf, lf, cf, idf, verbose = FALSE)

Arguments

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

Details

checking main fields (inspired by addmainfields .

Value

Original dataframe, dat. Used primarily to generate warning messages.

Author(s)

Mark Robertson and Vernon Visser (original function), Josep M Serra Diaz (modifs)

See Also

Other checks: .addmainfields2(), .check.geospatial.data(), .checkdatastr2(), .status.tracker.and.escaping()


occTest documentation built on Nov. 18, 2022, 5:07 p.m.