Create a grouping column based on specified time buffer

create_grouping_cols(df, buffer)

Arguments

df

a dataframe with `utc_orig` or `UTC time` column

buffer

a buffer (in seconds) between "groupings" of data collection

Value

a new dataframe with columns t_delta, time_gap, and grouping