Learn R Programming

auk (version 0.0.1)

auk_time: Filter the EBD by checklist start time

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

auk_time(x, time)

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

Run this code
# 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"))

Run the code above in your browser using DataLab