Skip to contents

The effective date/time of a changing date/time column dt is the last change before that change becomes effective, i.e. when dt == timestamp.

Usage

stream_effective_date(stream, column, by = NULL)

Arguments

stream

data.table with timestamp, and the columns named in column and by, if defined.

column

character(1) column name to make effective, must identify a date or datetime column.

by

character(1) optional column name to group rows by

Value

data.table with columns named by column and by