compute_datetime_info: Compute a named list with datetime ranges and step.

Description Usage Arguments Value

Description

Helper function to get formatted data for use in other functions.

Usage

1
compute_datetime_info(datetime_from, datetime_to, datetime_step)

Arguments

datetime_from

The initial datetime point of the range as string, in format YYYY-MM-DD HH:MM:SS.

datetime_to

The final datetime point of the range as string, in format YYYY-MM-DD HH:MM:SS.

datetime_step

The size of the step within the range, with 1 being each hour, 2 every other hour, etc.

Value

A named list with elements datetime_from, datetime_to and datetime_step.


floresfdev/wtkapi documentation built on May 24, 2019, 7:14 a.m.