auk_time: Filter the EBD by checklist start time

Description Usage Arguments Value Examples

Description

Define a filter for the eBird Basic Dataset (EBD) based on a range of start times for the checklist. This function only defines the filter and, once all filters have been defined, auk_filter() should be used to call AWK and perform the filtering.

Usage

1

Arguments

x

auk_ebd object; reference to EBD file created by auk_ebd().

time

character; 2 element character vector giving the range of times in 24 hour format, e.g. "06:30" or "16:22".

Value

An auk_ebd object.

Examples

1
2
3
4
# only keep checklists started between 6 and 8 in the morning
system.file("extdata/ebd-sample.txt", package = "auk") %>%
  auk_ebd() %>%
  auk_time(time = c("06:00", "08:00"))

mstrimas/auk documentation built on May 20, 2019, 5:26 p.m.