Skip to content

Implement col_duration() #549

@sjackman

Description

@sjackman

I have a table of time durations in hms format. The number of hours can be greater than 24. Parsing this column with col_time fails with

Warning: 1 parsing failure.
row       col   expected      actual
  5 Wallclock valid date 24:56:18.90

My workaround is to use col_string and then parse the time format with hms(roll=TRUE). My suggestion for possible solutions would be to either add a col_duration parser, or add a roll=TRUE parameter to col_time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions