def_econs {rmacrostrat} | R Documentation |
Define economic resources
Description
A function to retrieve the definitions for one or more economic resources in the Macrostrat database. By default, all economic definitions are returned.
Usage
def_econs(econ = NULL, econ_type = NULL, econ_class = NULL, econ_id = NULL)
Arguments
econ |
|
econ_type |
|
econ_class |
|
econ_id |
|
Value
A data.frame
containing the following columns:
-
econ_id
: The unique identifier of the economic resource. -
name
: The name of the economic resource. -
type
: The type of economic resource. -
class
: The class of economic resource. -
color
: The recommended coloring for units based on the dominant lithology. -
t_units
: The total number of Macrostrat units containing the economic resource.
Developer(s)
Bethany Allen
Reviewer(s)
William Gearty
See Also
Geologic features and attributes:
def_environments()
,
def_grain_sizes()
,
def_lithologies()
,
def_lithology_att()
,
def_measurements()
,
def_minerals()
,
def_structures()
Examples
# Return all economic resource definitions
econ_inf <- def_econs()
# Return only definitions for hydrocarbon resources
econ_inf <- def_econs(econ_type = "hydrocarbon")