dot-checkdatastr2: Check data structure

.checkdatastr2R Documentation

Check data structure

Description

Verify that all main data fields are correctly structured

Usage

.checkdatastr2(dat, xf, yf, 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

verbose

logical. Print messages? Defaults to FALSE

Details

Inspired by checkdatastr but modified (hence number 2 after the function original name)

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(), .checkfields(), .status.tracker.and.escaping()


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