RepoTimeTolubri: Transformation of time intervals in repo notation into a list...

View source: R/RepoTimeTolubri.R

RepoTimeTolubriR Documentation

Transformation of time intervals in repo notation into a list of Interval-class objects of the lubridate-package

Description

RepoTimeTolubri transforms time intervals expressed in the so-called repo notation (see details) into a list of Interval-class objects of the lubridate-package. When the time interval is not recognized as a valid string, it returns the corresponding message.

Usage

RepoTimeTolubri(RepoTime, TimeZone = "Europe/Madrid")

Arguments

RepoTime

Character vector with the time interval in repo notation.

TimeZone

Time zone component of a date-time as expected in function tz of the lubridate-package (default value = 'Europe/Madrid').

Details

The repo notation of time intervals is explained in the details section of RepoTimeInt-class.

Examples

RepoTimeTolubri('MM022014')
RepoTimeTolubri('MR122014')
RepoTimeTolubri('TT20141')


david-salgado/RepoTime documentation built on Feb. 2, 2024, 2:07 p.m.