Description Usage Arguments Value
Split dataset DT on both a timestamp field and a categorical field
1 2 | split_data_on_field_and_date(DT, data_path = "data/cache", split_field,
date_field, date_unit = c("hour", "day", "Month", "year", "week", "minute"))
|
DT |
The data table/frame to split |
data_path |
Where to save the split parts |
split_field |
Which field to use for splitting |
date_field |
The date field to use for date splitting |
date_unit |
The unit to round dates to |
invisible(NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.