Loads the last row from stream
after sorting by timestamp
and grouping by the entries in columns by
,
but only looking at timestamps before before
and returning only columns matching pattern
Usage
stream_customer_history(
stream,
by,
before = as.POSIXct("2100-01-01"),
pattern = ".",
...
)
Arguments
- stream
data.frameish stream
- by
character column name to group by
- before
POSIXct only look at customer history before this date
- pattern
character vector. If length > 1, the union of the matches is taken.
- ...
Arguments passed on to
tidyselect::matches
ignore.case
If
TRUE
, the default, ignores case when matching names.perl
Should Perl-compatible regexps be used?