Learn R Programming

rmacrostrat (version 1.0.0)

def_structures: Define geological structure

Description

A function to retrieve definitions for various geological structures within the Macrostrat database.

Usage

def_structures(
  structure = NULL,
  structure_class = NULL,
  structure_type = NULL,
  structure_id = NULL
)

Value

A data.frame containing the following columns:

  • structure_id: The unique identification number of the structure.

  • name: The name of the structure.

  • structure_type: Structure type, less inclusive than class.

  • group: Structure group, less inclusive than type.

  • class: Structure class, more inclusive than type.

Arguments

structure

character. The name of a geological structure (e.g., "syncline") to return a definition for.

structure_class

character. The name of the geological structure class (e.g., "sedimentology") to return a definition for.

structure_type

character. The name of the geological structure type (e.g., "fault") to return a definition for.

structure_id

integer. The unique idenfication number(s) of geological structures(s) to return a definition for.

Developer(s)

William Gearty

Reviewer(s)

Lewis A. Jones

See Also

Geologic features and attributes: def_econs(), def_environments(), def_grain_sizes(), def_lithologies(), def_lithology_att(), def_measurements(), def_minerals()

Examples

Run this code
# \donttest{
# Get all structure definitions
ex1 <- def_structures()
# Get subset of structure definitions
ex2 <- def_structures(structure_id = c(1, 3))
ex3 <- def_structures(structure_class = "igneous")
# }

Run the code above in your browser using DataLab