coordinate_precision_outofrange_flag: Flag records with incorrect coordinatePrecision

Description Usage Arguments Details Value Author(s) Examples

Description

Runs quality check of checking if coordinatePrecision is wthin possible range.

Usage

1

Arguments

gbif_data

Dataframe from GBIF with one mandatory field; coordinatePrecision

Details

The coordinate precision (dwc:coordinatePrecision), as a decimal representation, is outside the range of zero (minimum) and one (maximum) coordinatePrecision /=>0<=1. coordinatePrecision is a measure of precision of the coordinates. It can take only values between 0 and 1 for 1 being highly precise and 0 being no precise at all. This check will flag all records with precision out of this range.

Value

Same dataframe with one additional column; coordinatePrecisionOutofRangeFlag

Author(s)

thiloshon <thiloshon@gmail.com>

Examples

1
2
3
4
5
## Not run: 
dat <- rgbif::occ_data(scientificName = 'Ursus americanus')
flagged_dat <- coordinate_precision_outofrange_flag(dat$data)

## End(Not run)

thiloshon/Biodiversity documentation built on May 20, 2019, 4:07 p.m.