Skip to content

odd time handling in group_times #3

@robitalec

Description

@robitalec

group_times can't group odd time thresholds e.g. 2 hour threshold when times are 1am, 3am, 5am... 11pm.

This is because group_times considers the threshold in the context of 24 hours, and a two hour threshold would then group times to 0, 2, 4, 6...

Is there a way around this? Provide an 'offset' argument? Or just make sure it is clear in the vignettes and documentation?

A current workaround is using threshold = '1 hour' which will at least group to 0,1,2,3, ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions