Hi,
I would like to check that sequence of activities per every unique ID is correct or not. It should be based on the timestamp.
Out of all activities (can be repetitive), I need to check that the main 7 have happened and the order of them was correct.
Example below:
| ID | Timestamp | Activity | Correct |
| 123 | 2020-10-01 01:01:13 | AC | Yes |
| 123 | 2020-10-01 01:01:14 | AC | Yes |
| 123 | 2020-10-01 01:01:15 | DC | Yes |
| 123 | 2020-10-01 01:01:17 | AC | No |
| 213 | 2020-10-01 02:01:13 | AC | Yes |
| 213 | 2020-10-01 03:01:13 | DC | Yes |
| 213 | 2020-10-01 04:01:13 | GS | No |