locality_coordinate_mismatch_flag: Flag records with contradicting locality to the coordinates

Description Usage Arguments Value Examples

Description

Runs quality check of checking if locality field and coordinates point same location.

Usage

1

Arguments

gbif_data

Dataframe from GBIF with three mandatory field; decimalLatitude, decimalLongitude, locality

Value

Same dataframe with two additional columns; localityCoordinateMismatchFlag, generatedLocalityCoordinate

Examples

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

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