getCalendar: Get calendar

Description Usage Arguments Value Examples

View source: R/imarpe-auxiliar.R

Description

Function to get a data base of dates according a specific year.

Usage

1
getCalendar(year, language = "spanish")

Arguments

year

The specific year to get the data base of dates.

language

The language for columns names in the data frame that is returned from the function. By default is in spanish, but this can be english.

Value

A data frame with three columns, the years, months and days.

Examples

1
2
3
4
5
#To get the a data base of dates to the year 2001 in spanish.
getCalendar(year = 2001)

#To get the same data base of dates but with the colnames in englis, change the \code{language} parameter to 'english'.
getCalendar(year = 2001, language = "english")

imarpe/imarpe documentation built on Aug. 8, 2020, 8:40 p.m.