getPeriodFromISO: Get Period from ISO

View source: R/periodUtils.R

getPeriodFromISOR Documentation

Get Period from ISO

Description

Utility function return a data frame of a periods start date, end date, ISO character and periodtype

Usage

getPeriodFromISO(iso)

Arguments

iso

String which identifies the period, such as 2016Q1 or 2016Q2

Value

Returns a data frame consisting of iso (character), startDate (Date), endDate (Date) and period type (character)

Examples

 getPeriodFromISO("2018Q1")
 getPeriodFromISO("201801")
 getPeriodFromISO("20180901")


jason-p-pickering/datim-validation documentation built on April 20, 2023, 5:32 a.m.