Skip to content

Feature request: distinguish Date frequency in extract_date_range() #131

Description

@martinctc

Currently, extract_date_range() assumes that the data is grouped at a weekly level, but this is not necessarily the case.

It would be good if it computes whether the date is grouped at a daily, weekly, or monthly level, perhaps by taking into account the differences of the dates.

The "text" return could then be something like:

  • Daily data from X to X
  • Weekly data from X to X

When introducing this feature, it would be good to test whether this has an impact on the performance of functions which use extract_date_range().

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions