Learn R Programming

auk (version 0.0.1)

auk_duration: Filter the EBD by duration

Description

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.

Value

An auk_ebd object.

Examples

Run this code
# only keep checklists that are less than an hour long
system.file("extdata/ebd-sample.txt", package = "auk") %>%
  auk_ebd() %>%
  auk_duration(duration = c(0, 60))

Run the code above in your browser using DataLab