View source: R/harmonised-reading.R
iso8601_period_to_text | R Documentation |
This function converts an ISO 8601 period (e.g. PT1H30M) to natural text (in the example, "1 hour, 30 mins").
iso8601_period_to_text(x, only_first = F)
x |
<string> defining the frequency to be converted. It must follow ISO 8601 format representing the time step. |
only_first |
<boolean> specifying if only the first timestep item should be converted. |
<string> with the time step in natural text.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.