coordinates_decimal_mismatch: Flag coordinates with decimal points mismatch.

Description Usage Arguments Details Value Author(s) Examples

Description

Runs quality check of checking coordinates with more than 3 decimal point difference.

Usage

1

Arguments

gbif_data

Dataframe from GBIF with two mandatory fields; decimalLatitude, decimalLongitude

Details

The function runs a quality check on coordinates of GBIF data to check if latitude and longitude have different number of decimal points. If coordinate was recorded by an accepted protocol, its unlikely to identify both coordinate with varying precision.

Value

Same dataframe with one additional column; decimalPointDifference

Author(s)

thiloshon <thiloshon@gmail.com>

Examples

1
2
dat <- rgbif::occ_data(scientificName = 'Ursus americanus')
flagged_dat <- coordinates_decimal_mismatch(dat$data)

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