Package: almanac 1.0.0.9000
almanac: Tools for Working with Recurrence Rules
Provides tools for defining recurrence rules and recurrence sets. Recurrence rules are a programmatic way to define a recurring event, like the first Monday of December. Multiple recurrence rules can be combined into larger recurrence sets. A full holiday and calendar interface is also provided that can generate holidays within a particular year, can detect if a date is a holiday, can respect holiday observance rules, and allows for custom holidays.
Authors:
almanac_1.0.0.9000.tar.gz
almanac_1.0.0.9000.zip(r-4.5)almanac_1.0.0.9000.zip(r-4.4)almanac_1.0.0.9000.zip(r-4.3)
almanac_1.0.0.9000.tgz(r-4.4-x86_64)almanac_1.0.0.9000.tgz(r-4.4-arm64)almanac_1.0.0.9000.tgz(r-4.3-x86_64)almanac_1.0.0.9000.tgz(r-4.3-arm64)
almanac_1.0.0.9000.tar.gz(r-4.5-noble)almanac_1.0.0.9000.tar.gz(r-4.4-noble)
almanac_1.0.0.9000.tgz(r-4.4-emscripten)almanac_1.0.0.9000.tgz(r-4.3-emscripten)
almanac.pdf |almanac.html✨
almanac/json (API)
NEWS
# Install 'almanac' in R: |
install.packages('almanac', repos = c('https://davisvaughan.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/davisvaughan/almanac/issues
calendarsholidaysrecurrence-rules
Last updated 2 years agofrom:7b14f6e8f1. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 04 2024 |
R-4.5-win-x86_64 | OK | Nov 04 2024 |
R-4.5-linux-x86_64 | OK | Nov 04 2024 |
R-4.4-win-x86_64 | OK | Nov 04 2024 |
R-4.4-mac-x86_64 | OK | Nov 04 2024 |
R-4.4-mac-aarch64 | OK | Nov 04 2024 |
R-4.3-win-x86_64 | OK | Nov 04 2024 |
R-4.3-mac-x86_64 | OK | Nov 04 2024 |
R-4.3-mac-aarch64 | OK | Nov 04 2024 |
Exports:%>%%s-%%s+%add_exdatesadd_rdatesadd_rscheduleadj_followingadj_modified_followingadj_modified_precedingadj_nearestadj_noneadj_precedingalma_eventsalma_inalma_nextalma_previousalma_searchalma_seqalma_stepalmanac_sincealmanac_untilcal_addcal_eventscal_matchcal_namescal_nextcal_previouscal_removecal_us_federaldailyhol_christmashol_christmas_evehol_easterhol_good_fridayhol_halloweenhol_new_years_dayhol_new_years_evehol_observehol_offsethol_renamehol_st_patricks_dayhol_us_election_dayhol_us_fathers_dayhol_us_independence_dayhol_us_indigenous_peoples_dayhol_us_juneteenthhol_us_labor_dayhol_us_martin_luther_king_junior_dayhol_us_memorial_dayhol_us_mothers_dayhol_us_presidents_dayhol_us_thanksgivinghol_us_veterans_dayhol_valentines_daymonthlynew_rscheduleradjustedrcalendarrcustomrecur_for_countrecur_on_day_of_monthrecur_on_day_of_weekrecur_on_day_of_yearrecur_on_easterrecur_on_intervalrecur_on_mdayrecur_on_month_of_yearrecur_on_positionrecur_on_wdayrecur_on_week_of_yearrecur_on_weekdaysrecur_on_weekendsrecur_on_ydayrecur_on_ymonthrecur_on_yweekrecur_with_week_startrholidayrintersectroffsetrschedule_eventsrsetdiffrunionsteppervec_arith.almanac_stepperweeklyworkdaysyearly
Dependencies:clicpp11curlgenericsgluejsonlitelifecyclelubridatemagrittrR6RcpprlangtimechangeV8vctrs
Adjusting and shifting dates
Rendered fromadjust-and-shift.Rmd
usingknitr::rmarkdown
on Nov 04 2024.Last update: 2023-04-06
Started: 2019-10-02
Holidays and calendars
Rendered fromholidays-calendars.Rmd
usingknitr::rmarkdown
on Nov 04 2024.Last update: 2023-04-11
Started: 2023-04-11
iCalendar specification
Rendered fromicalendar.Rmd
usingknitr::rmarkdown
on Nov 04 2024.Last update: 2023-04-04
Started: 2019-10-03
Introduction to almanac
Rendered fromalmanac.Rmd
usingknitr::rmarkdown
on Nov 04 2024.Last update: 2023-04-10
Started: 2019-10-02
Quarterly rules
Rendered fromquarterly.Rmd
usingknitr::rmarkdown
on Nov 04 2024.Last update: 2023-04-06
Started: 2019-10-03
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Date adjustments | adjustments adj_following adj_modified_following adj_modified_preceding adj_nearest adj_none adj_preceding |
Get all events | alma_events |
Check if dates are in an event set | alma_in |
Generate the next or previous event | alma_next alma_previous |
Search for events | alma_search |
Generate date sequences | alma_seq |
Step relative to an rschedule | alma_step |
Default values in almanac | almanac-defaults almanac_since almanac_until |
Calendar events | cal_events |
Calendar matching | cal_match |
Calendar names | cal_names |
US federal calendar | cal_us_federal |
Calendar additions and removals | calendar-add-remove cal_add cal_remove |
Calendar locations | calendar-locations cal_next cal_previous |
Holiday utility functions | holiday-utilities hol_observe hol_offset hol_rename |
Holidays | holidays hol_christmas hol_christmas_eve hol_easter hol_good_friday hol_halloween hol_new_years_day hol_new_years_eve hol_st_patricks_day hol_us_election_day hol_us_fathers_day hol_us_independence_day hol_us_indigenous_peoples_day hol_us_juneteenth hol_us_labor_day hol_us_martin_luther_king_junior_day hol_us_memorial_day hol_us_mothers_day hol_us_presidents_day hol_us_thanksgiving hol_us_veterans_day hol_valentines_day |
Create a new rschedule | new_rschedule rschedule_events |
Create an adjusted rschedule | radjusted |
Create a recurring calendar | rcalendar |
Create a custom rschedule | rcustom |
Control the number of times to recur | recur_for_count |
Recur on a day of the month | recur_on_day_of_month |
Recur on a day of the week | recur_on_day_of_week recur_on_weekdays recur_on_weekends |
Recur on a day of the year | recur_on_day_of_year |
Recur on easter | recur_on_easter |
Recur on an interval | recur_on_interval |
Recur on a month of the year | recur_on_month_of_year |
Recur on a position within a frequency | recur_on_position |
Recur on a week of the year | recur_on_week_of_year |
Control the start of the week | recur_with_week_start |
Create a recurring holiday | rholiday |
Create an offset rschedule | roffset |
Create a recurrence rule | daily monthly rrule weekly yearly |
Create a new set-based recurrence schedule | rintersect rset rsetdiff runion |
Create a new stepper | %s+% %s-% stepper workdays |