View source: R/filter_date_range.R
filter_date_range | R Documentation |
Return locations within the specified date range
filter_date_range(x, dt_col, start, end)
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. |
A data frame with locations recorded between the start date and end date provided.
## Not run:
filter_date_range(collar_data, start = "2000-12-30", end = "2019-01-30")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.