Learn R Programming

auk (version 0.0.1)

auk_date: Filter the EBD by date

Description

Define a filter for the eBird Basic Dataset (EBD) based on a range of dates. 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_date(x, date)

Arguments

x

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

date

character or date; date range to filter by , provided either as a character vector in the format "2015-12-31" or a vector of Date objects.

Value

An auk_ebd object.

Examples

Run this code
system.file("extdata/ebd-sample.txt", package = "auk") %>%
  auk_ebd() %>%
  auk_date(date = c("2010-01-01", "2010-12-31"))

Run the code above in your browser using DataLab