No matches were found for subject:"\[R\] lapply or data.table to find a unit's previous transaction"