The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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 ORCID iD [aut, cre]
Maintainer: Joe Roe <joe at joeroe.io>
BugReports: https://github.com/joeroe/era/issues
License: MIT + file LICENSE
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:

Reference manual: era.pdf
Vignettes: Years with an era (source, R code)

Downloads:

Package source: era_0.5.0.tar.gz
Windows binaries: r-devel: era_0.5.0.zip, r-release: era_0.5.0.zip, r-oldrel: era_0.5.0.zip
macOS binaries: r-release (arm64): era_0.5.0.tgz, r-oldrel (arm64): era_0.5.0.tgz, r-release (x86_64): era_0.5.0.tgz, r-oldrel (x86_64): era_0.5.0.tgz
Old sources: era archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=era to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.