hourly_timesteps: Time casting from hours to ISO 8601 timesteps

View source: R/preparation.R

hourly_timestepsR Documentation

Time casting from hours to ISO 8601 timesteps

Description

Supported ISO 8601 timesteps: - PT1S - PT1M - PT1H - P1D - P1W - P1M - P1Y

Usage

hourly_timesteps(nHours, original_timestep)

Arguments

nHours

<integer> Number of hours to obtain

original_timestep

<string> in ISO 8601 format representing the period or timestep (e.g. "PT15M","PT1H", "P3M", "P1D" ,...).

Value

<integer> corresponding to the number of hours


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