50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


BTYD (version 2.4)

dc.MergeTransactionsOnSameDate: Merge Transactions on Same Day

Description

Updates an event log; any transactions made by the same customer on the same day are combined into one transaction.

Usage

dc.MergeTransactionsOnSameDate(elog)

Arguments

elog
event log, which is a data frame with columns for customer ID ("cust"), date ("date"), and optionally other columns such as "sales". Each row represents an event, such as a transaction.

Value

Event log with transactions made by the same customer on the same day merged into one transaction.