Learn R Programming

simfinR (version 0.2.3)

simfinR_period_to_date: Period to date

Description

Returns the last date for a given period and year.

Usage

simfinR_period_to_date(period_in, year_in)

Arguments

period_in

The period ('Q1', 'Q2', 'Q3', 'Q4', 'FY')

year_in

The year

Value

A single date object

Examples

Run this code
# NOT RUN {
first_quarter <- simfinR_period_to_date('Q1', 2019)
# }

Run the code above in your browser using DataLab