Lesson 12.5 · Pro

Sessions from raw events

Split each person's events into sessions using a time gap, then measure the sessions.

In this lesson

  1. Step 1: time since the previous event
  2. Step 2: flag the start of each session
  3. Step 3: a running sum numbers the sessions
  4. Measure each session