Create a new column which marks the beginning of each series in a tibble (for example, time series).
create_start_event(tibble, series_col)
tibble | A tibble arranged according to the series. |
---|---|
series_col | The name of the column that defines the group of series, as an unquoted expression. |
A tibble with an extra column that marks the beginning of the series.
#> #>#>#> #>#>#> #>