Description Usage Arguments Examples
Enables the user to subset a data.frame
by a specific date
range.
1 2 3 4 5 6 7 | subset_by_date_range(
x,
range = NULL,
from = NULL,
to = NULL,
date_col = "date"
)
|
x |
|
range |
A vector of length 2 |
from, to |
A |
date_col |
Just in case the date column is named something else other than 'date' |
1 2 | data(wdqs_usage)
subset_by_date_range(wdqs_usage, from = "2017-01-01", to = "2017-01-31")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.