iso8601_period_to_timedelta: ISO 8601 period to period

View source: R/harmonised-reading.R

iso8601_period_to_timedeltaR Documentation

ISO 8601 period to period

Description

This function converts an ISO 8601 period (e.g. PT1H30M) to a period object.

Usage

iso8601_period_to_timedelta(x)

Arguments

x

<string> defining the frequency to be converted. It must follow ISO 8601 format representing the time step.

Value

<period> according the format defined in lubridate's 'Period-class'.


biggproject/biggr documentation built on Oct. 2, 2024, 11:13 p.m.