Extracts a specific parameter from an era object.
Details
The available parameters are:
label – unique, abbreviated label of the era, e.g. "cal BP"
epoch – year of origin of the era, e.g. 1950 for Before Present
name – full name of the era, e.g. "calendar years Before Present"
unit – unit of years used, an
era_year()
objectscale – multiple of years used, e.g. 1000 for ka/kiloannum
direction – whether years are counted "backwards" or "forwards" from the epoch #'
See also
Other era helper functions:
era
,
era_year
,
era_year_parameters
,
is_era()
,
is_era_year()
,
is_yr()
,
this_year()
Examples
x <- era("cal BP")
era_name(x)
#> [1] "Before Present"