Hello everyone,
I am currently trying to match transactions for a same product (the dataset has thousands of different products) that occurred within a 30 day window. Picture the following example:
Transaction 1
Product A
30 April 2015
Transaction 2
Product A
1 May 2015
Transaction 3
Product A
1 August 2015
Here, only Transactions 1 and 2 would be relevant. In other words, I assume I need to filter transactions that had no other for the same product in the 30 days prior/subsequent to it. Is this the best way to approach the problem?
Thank you for your help!
Best