Learn R Programming

velociraptr (version 1.1.0)

downloadTime: Download geologic timescale

Description

Downloads a geologic timescale from the Macrostrat.org database.

Usage

downloadTime(Timescale = "interational epochs")

Arguments

Timescale

character string; a recognized timescale in the Macrostrat.org database

Value

A data frame

Details

Downloads a recognized timescale from the Macrostrat.org database. This includes the name, minimum age, maximum age, midpoint age, and official International Commission on Stratigraphy color hexcode if applicable of each interval in the timescale. Go to https://macrostrat.org/api/defs/timescales?all for a list of recognized timescales.

Examples

Run this code
# NOT RUN {
# Download the ICS recognized periods timescale
Timescale<-downloadTime(Timescale="international periods")

# }

Run the code above in your browser using DataLab