datey: Exact Date and Duration Arithmetic on an Annual Grid

Standardised mapping of dates onto a discrete annual grid, together with exact date and duration arithmetic. This matters when the primary unit is years but the input data uses dates. Examples are actuarial mortality experience analysis and valuation of life assurance and annuities, for which mortality rates are defined per year but experience and valuation data are typically defined using dates.

Package details

AuthorTim Gordon [aut, cre] (ORCID: <https://orcid.org/0009-0006-3087-4384>)
MaintainerTim Gordon <tim.gordon@btinternet.com>
LicenseMIT + file LICENSE
Version0.1.1
URL https://github.com/logmu-org/r-datey https://r-datey.logmu.org/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("datey")

Try the datey package in your browser

Any scripts or data that you put into this service are public.

datey documentation built on July 14, 2026, 5:06 p.m.