obpg_period_string: Given a start date and a period code and style generate a an...

Description Usage Arguments Value

View source: R/misc.R

Description

Given a start date and a period code and style generate a an OBPG date pairing

Usage

1
obpg_period_string(dates, period = "DAY", style = "new")

Arguments

dates

Date-class the dates (always refers to the start if an extended period)

period

character the period of the product (DAY, 8D, MO, etc)

style

character either "new" or "old"

Value

character vector with either YYYYmmdd or YYYYjjj style format


BigelowLab/ohwobpg documentation built on Aug. 11, 2020, 11:51 p.m.