filter_date_range: Return locations within the specified date range

View source: R/filter_date_range.R

filter_date_rangeR Documentation

Return locations within the specified date range

Description

Return locations within the specified date range

Usage

filter_date_range(x, dt_col, start, end)

Arguments

x

A data frame containing collar data with column "dt_col" that can be coerced into class "Date"

dt_col

A character vector that specifies the name of date column in the supplied data frame.

start

A character, date, or POSIXct string that can be coerced into a date. Used to return locations on or after the specified date.

end

A character, date, or POSIXct string that can be coerced into a date. Used to return locations on or before the specified date.

Value

A data frame with locations recorded between the start date and end date provided.

Examples

## Not run: 
  filter_date_range(collar_data, start = "2000-12-30", end = "2019-01-30")

## End(Not run)

Huh/collar documentation built on Aug. 5, 2022, 11:02 p.m.