CRAN/E | era

era

Year-Based Time Scales

Installation

About

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.

era.joeroe.io
github.com/joeroe/era
Bug report File report

Key Metrics

Version 0.4.0
R ≥ 2.10
Published 2022-03-09 920 days ago
Needs compilation? no
License MIT
License File
CRAN checks era results
Language en-GB

Downloads

Yesterday 17 0%
Last 7 days 84 +25%
Last 30 days 377 +23%
Last 90 days 943 -3%
Last 365 days 3.965 -1%

Maintainer

Maintainer

Joe Roe

Authors

Joe Roe

aut / cre

Material

README
NEWS
Reference manual
Package source

Vignettes

Years with an era

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

era archive

Depends

R ≥ 2.10

Imports

vctrs ≥ 0.3.0
methods
rlang
pillar

Suggests

tibble
testthat
covr
knitr
rmarkdown
dplyr
spelling
purrr
tidyr
lubridate