Select Time Interval
selectTimeInterval(x, t1 = NULL, t2 = NULL, width = "-7d", posixColumn = posixColumnAtPosition(x), dbg = TRUE)
x | data frame with at least one time column |
---|---|
t1 | first timestamp as text, in yyyy-mm-dd format |
t2 | optional. last timestamp as text, in yyyy-mm-dd format |
width | interval width as text containing number and unit (one of "d" - day, "h" - hour, "m" - minute). E.g. "7d" = 7 days, "20m" = 20 minutes. The number may be negative indicating "last <number> units". |
posixColumn | name or number of column in |
dbg | if |