country_coordinate_mismatch_flag: Flag records with coordinates mismatching country

Description Usage Arguments Value Author(s) Examples

Description

Geographic coordinates fall outside the area defined by the referenced terrestrial boundary of the country

Usage

1

Arguments

gbif_data

Dataframe from GBIF with two mandatory fields; "decimalLatitude", "decimalLongitude"

Value

Same dataframe with two additional columns; countryCoordinateMismatchFlag, generatedCountries

Author(s)

thiloshon <thiloshon@gmail.com>

Examples

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

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