Tag: previous record in R data.table