Learn R Programming

rmacrostrat (version 1.0.0)

def_lithology_att: Define lithology attributes

Description

A function to retrieve the definitions for one or more lithology attributes in the Macrostrat database. By default, all lithology attribute definitions are returned.

Usage

def_lithology_att(
  lithology_att = NULL,
  att_type = NULL,
  lithology_att_id = NULL
)

Value

A data.frame containing the following columns:

  • lith_att_id: The unique identifier of the lithology attribute.

  • name: The name of the lithology attribute.

  • type: The lithology attribute type.

  • t_units: The total number of Macrostrat units to which the lithology attribute is attached.

Arguments

lithology_att

character. The name of the lithology attribute (e.g., "cross-bedded") to return a definition for.

att_type

character. The type of lithology attribute (e.g., "sed structure") to return a definition for.

lithology_att_id

integer. The unique identification number(s) of lithology attribute(s) to return a definition for.

Developer(s)

Bethany Allen

Reviewer(s)

Christopher D. Dean

See Also

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

Examples

Run this code
# \donttest{
# Return all lithology attribute definitions
ex1 <- def_lithology_att()
# Return subsets of lithology attribute definitions
ex2 <- def_lithology_att(att_type = "sed structure")
# }

Run the code above in your browser using DataLab