year_month: year_month

Description Usage Arguments Details Value Note Author(s)

Description

Return a vector of possible dates of a years, or dates of a month in a year.

Usage

1
year_month(df, select_year, select_month = NULL, previous = FALSE)

Arguments

df

dataset to obtain the dates

select_year

year that we want to obtain the vector

select_month

name of the month of the year that we want to obtain the vector

previous

If we want to obtain the previous year or month

Details

This function allows you to return a vector of dates from a year (or the previous one) OR dates of a month of a year (or the previous month)

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.