era: Year-Based Time Scales
Provides a consistent representation of year-based time scales as a numeric vector with an associated 'era'. There are built-in era definitions for many year numbering systems used in contemporary and historic calendars (e.g. Common Era, Islamic 'Hijri' years); year-based time scales used in archaeology, astronomy, geology, and other palaeosciences (e.g. Before Present, SI-prefixed 'annus'); and support for arbitrary user-defined eras. Years can converted from any one era to another using a generalised transformation function. Methods are also provided for robust casting and coercion between years and other numeric types, type-stable arithmetic with years, and pretty-printing in tables.
| Version: | 0.5.0 |
| Depends: | R (≥ 2.10) |
| Imports: | vctrs (≥ 0.3.0), methods,rlang,pillar |
| Suggests: | tibble,testthat,covr,knitr,rmarkdown,dplyr,spelling,purrr,tidyr,lubridate |
| Published: | 2024-11-20 |
| DOI: | 10.32614/CRAN.package.era |
| Author: | Joe Roe [aut, cre] |
| Maintainer: | Joe Roe <joe at joeroe.io> |
| BugReports: | https://github.com/joeroe/era/issues |
| License: | MIT + fileLICENSE |
| URL: | https://era.joeroe.io,https://github.com/joeroe/era |
| NeedsCompilation: | no |
| Language: | en-GB |
| Materials: | README,NEWS |
| In views: | TimeSeries |
| CRAN checks: | era results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=erato link to this page.