easter_dates: Display Easter Sunday dates in given period

View source: R/calendars.R

easter_datesR Documentation

Display Easter Sunday dates in given period

Description

Allows to display the date of Easter Sunday for each year, in the defined period. Dates are displayed in "YYYY-MM-DD" format and as a number of days since January 1st 1970.

Usage

easter_dates(year0, year1, julian = FALSE)

Arguments

year0, year1

starting year and ending year

julian

Boolean indicating if Julian calendar must be used.

Value

a named numeric vector. Names are the dates in format "YYYY-MM-DD", values are number of days since January 1st 1970.

References

More information on calendar correction in JDemetra+ online documentation: https://jdemetra-new-documentation.netlify.app/a-calendar-correction

See Also

national_calendar, easter_day

Examples

# Dates from 2018(included) to 2023 (included)
easter_dates(2018, 2023)

palatej/rjd3toolkit documentation built on Oct. 30, 2024, 10:46 p.m.