def_lithologies {rmacrostrat} | R Documentation |
Define lithologies
Description
A function to retrieve the definitions of one or more lithologies in the Macrostrat database. If no arguments are specified (the default), all lithology definitions are returned.
Usage
def_lithologies(
lithology = NULL,
lithology_group = NULL,
lithology_class = NULL,
lithology_type = NULL,
lithology_id = NULL
)
Arguments
lithology |
|
lithology_group |
|
lithology_class |
|
lithology_type |
|
lithology_id |
|
Value
A data.frame
containing the following columns:
-
lith_id
: The unique identification number of the lithology. -
name
: The name of the lithology. -
type
: The lithology type, less inclusive than class. -
group
: The lithology group, less inclusive than type. -
class
: The lithology class, more inclusive than type. -
color
: The recommended coloring for the lithology. -
fill
: The code for the fill pattern as established in the Federal Geographic Data Committee's Digital Cartographic Standard for Geologic Map Symbolization. -
t_units
: The total number of Macrostrat units that are partially or entirely composed of the lithology.
Developer(s)
William Gearty
Reviewer(s)
Bethany Allen
See Also
Geologic features and attributes:
def_econs()
,
def_environments()
,
def_grain_sizes()
,
def_lithology_att()
,
def_measurements()
,
def_minerals()
,
def_structures()
Examples
# return all lithology definitions
ex1 <- def_lithologies()
# return a definition for sandstone
ex2 <- def_lithologies(lithology = "sandstone")
# return definitions for lithologies of a specific type
ex3 <- def_lithologies(lithology_type = "sedimentary")
# return definitions for lithologies using their unique ID numbers
ex4 <- def_lithologies(lithology_id = c(1,5))