georeference_post_occurrence_flag: Flag records georeferenced after the event date

Description Usage Arguments Details Value Author(s) Examples

Description

Runs quality check of checking if georeferencing was done after event date.

Usage

1

Arguments

gbif_data

Dataframe from GBIF with two mandatory fields; georeferencedDate and eventDate

Details

The function collects the time in years between the occurrence date and the georeferenced date. If the record was georeferenced on the day it was occurred, then the record will most likely to be correct. But, if the record was georeferenced several years later, then the reliability will be low. This flag brings that out.

Value

Same dataframe with one additional column; georeferencePostOccurrenceFlag

Author(s)

thiloshon <thiloshon@gmail.com>

Examples

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

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