semester_quarter: semester_quarter

Description Usage Arguments Details Value Note Author(s)

Description

Return a vector of possible dates in a semester or quarter in a year.

Usage

1
semester_quarter(df, year, previous = FALSE, semester = NULL, quarter = NULL)

Arguments

df

dataset to obtain the dates

year

year that we want to obtain the vector

previous

If we want to obtain the semester or quarter from the previous year

semester

Number of the semester that we want to obtain the vector 1:2

quarter

Number of the quarter that we want to obtain the vector 1:4

Details

This function allows you to return a vector of dates from a semester or quarter of a year (or the previous year)

Value

"This function returns different results based on the arguments select_year, select_month & previous".

Note

Author(s)

Eduardo Trujillo


1Edtrujillo1/udeploy documentation built on July 13, 2021, 9:12 p.m.