Closed francisbarton closed 6 months ago
I think we need to use seconds or decimal days internally to the package. If we have the time data I'd prefer to use it internally in the calcs, and do the rounding at the final presentation step (if rounding is needed at all).
Reprex:
I am not sure if this is desired behaviour that is then handled downstream, but I think the desired behaviour is to calculate a number of days between events. Currently it appears to calculate the lag in seconds.
Also, the initial event is removed from the data (there are two events on 2023-12-18 in the measure data).