first_of_year_flag: Flag records with dates set to first day of the year

Description Usage Arguments Details Value Author(s) Examples

Description

Event date (month, day) is first of year eventDate=1978-01-01, or year=1978, month=1, day=1.

Usage

1
first_of_year_flag(GBIF_Data)

Arguments

gbif_data

Dataframe from GBIF with two mandatory fields; month and day.

Details

The function runs a quality check to find if the date of occurance is set to the first day of the year. This might mean the date was not recorded and ehile digitization the date was automatically set my system as the first day.

Value

Same dataframe with one column; firstOfYearFlag.

Author(s)

thiloshon <thiloshon@gmail.com>

Examples

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

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