Define a filter for the eBird Basic Dataset (EBD) based on the duration of
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
auk_duration(x, duration)
Arguments
x
auk_ebd object; reference to EBD file created by auk_ebd().
duration
integer; 2 element vector specifying the range of durations
in minutes to filter by.
# only keep checklists that are less than an hour longsystem.file("extdata/ebd-sample.txt", package = "auk") %>%
auk_ebd() %>%
auk_duration(duration = c(0, 60))