rmacrostrat: An R package for accessing and retrieving data from the Macrostrat geological database

This is a Preprint and has not been peer reviewed. The published version of this Preprint is available: https://doi.org/10.1130/GES02815.1. This is version 2 of this Preprint.

Add a Comment

You must log in to post a comment.


Comments

There are no comments or no comments have been made public for this article.

Downloads

Download Preprint

Authors

Lewis Alan Jones , Christopher D. Dean, William Gearty , Bethany Allen 

Abstract

The geological record is a vast archive of information that provides the only empirical data about the evolution of the Earth. In recent years, concentrated efforts have been made to compile macrostratigraphic data into the online centralized database Macrostrat (https://macrostrat.org). Macrostrat is a global stratigraphic database containing information regarding surface and subsurface rock units and their respective ages, lithologies, geographic extents, and various other associated metadata. However, these data are currently only accessible through the Macrostrat application programming interface (API), which is a barrier to potential users that are less familiar with such services. This data accessibility hurdle currently prevents full capitalization of the value offered by Macrostrat, particularly its potential to improve understanding of the geological and biological evolution of the Earth. Here, we introduce rmacrostrat, an R package which interfaces with the Macrostrat database, to access and retrieve a variety of geological, paleontological, and economic data directly into the R programming environment. In this article, we provide details about how the package can be installed, its implementation, and potential use cases. For the latter, we showcase how rmacrostrat can be used to estimate the proportion of North American carbonate and siliciclastic sediments through time, produce regional geologic outcrop maps, and visualize regional stratigraphic columns. We hope that this package will make geological data more readily accessible, and in turn will facilitate new research utilizing Earth System data.

DOI

https://doi.org/10.31223/X5XX37

Subjects

Earth Sciences, Physical Sciences and Mathematics

Keywords

Geology, Computational Earth Sciences, R Programming, Toolkit, Reproducible, stratigraphy, fossils

Dates

Published: 2024-07-24 23:11

Last Updated: 2024-10-31 06:57

Older Versions
License

CC-BY Attribution-NonCommercial 4.0 International

Additional Metadata

Conflict of interest statement:
None.

Data Availability (Reason not available):
This manuscript describes the new rmacrostrat R package (software toolkit). The code behind the package is open access and available at: https://github.com/palaeoverse/rmacrostrat.