rmacrostrat: An R package for accessing and retrieving data from the Macrostrat geological database
DOI | 10.1130/GES02815.1 |
---|---|
Year | 2024 |
Type | article in journal |
Language | English |
Id | 50311 |
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. 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 raw data are currently directly accessible only through the Macrostrat application programming interface, 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 that 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 visualize regional stratigraphic columns, produce regional geologic outcrop maps, and investigate temporal trends in macrostratigraphic units. We hope that this package will make geological data more readily accessible and in turn will facilitate new research utilizing Earth system data.