def_econs {rmacrostrat} | R Documentation |
A function to retrieve the definitions for one or more economic resources in the Macrostrat database. By default, all economic definitions are returned.
def_econs(econ = NULL, econ_type = NULL, econ_class = NULL, econ_id = NULL)
econ |
|
econ_type |
|
econ_class |
|
econ_id |
|
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.
Bethany Allen
William Gearty
Geologic features and attributes:
def_environments()
,
def_grain_sizes()
,
def_lithologies()
,
def_lithology_att()
,
def_measurements()
,
def_minerals()
,
def_structures()
# Return all economic resource definitions
econ_inf <- def_econs()
# Return only definitions for hydrocarbon resources
econ_inf <- def_econs(econ_type = "hydrocarbon")