regnalYear: Convert date to regnal year

Description Usage Arguments Value Examples

View source: R/regnalYear.R

Description

Convert date to regnal year

Usage

1
regnalYear(date, region = "UK", system = "UK", abbr = FALSE)

Arguments

date

Date to convert (YYYY-mm-dd)

region

Monarchy to use (UK, Scotland)

system

Date system of input (default UK)

abbr

Abbreviate monarch names

Value

Regnal year and reigning monarch

Examples

1
2
3
regnalYear("1067-01-01")
regnalYear("1067-01-01", region="UK", system="Julian")
regnalYear("1067-01-01", abbr=TRUE)

edwbaker/regnal documentation built on Dec. 20, 2021, 3:21 a.m.