Would like to know how I can identify consecutive date periods with the period counter resetting per group.
This is my stab at it which does it across the whole DataF