This function takes a name of a geological timescale and returns data for the
timescale. Valid names include those of built-in data.frames
(periods()
,
epochs()
, stages()
, eons()
, or eras()
),
partial matches of those names (e.g., "per" or "stage"),
and exact matches to those hosted by Macrostrat (see full list here:
https://macrostrat.org/api/defs/timescales?all).
Value
A data.frame
with the following columns:
- name
the names of the time intervals.
- max_age
the oldest boundaries of the time intervals, in millions of years.
- min_age
the youngest boundaries of the time intervals, in millions of years.
- abbr
either traditional abbreviations of the names of the time intervals (if they exist) or custom abbreviations created with R.
- color
hex color codes associated with the time intervals (if applicable).