get_sections {rmacrostrat} | R Documentation |
A function to retrieve Macrostrat units contained within gap-bound packages (sections).
get_sections(
section_id = NULL,
column_id = NULL,
unit_id = NULL,
strat_name = NULL,
strat_name_id = NULL,
interval_name = NULL,
interval_id = NULL,
age = NULL,
age_top = NULL,
age_bottom = NULL,
lat = NULL,
lng = NULL,
lithology = NULL,
lithology_id = NULL,
lithology_group = NULL,
lithology_type = NULL,
lithology_class = NULL,
lithology_att = NULL,
lithology_att_id = NULL,
lithology_att_type = NULL,
environ = NULL,
environ_id = NULL,
environ_type = NULL,
environ_class = NULL,
pbdb_collection_no = NULL,
econ = NULL,
econ_id = NULL,
econ_type = NULL,
econ_class = NULL,
project_id = NULL,
adjacents = FALSE
)
section_id |
|
column_id |
|
unit_id |
|
strat_name |
|
strat_name_id |
|
interval_name |
|
interval_id |
|
age |
|
age_top |
|
age_bottom |
|
lat |
|
lng |
|
lithology |
|
lithology_id |
|
lithology_group |
|
lithology_type |
|
lithology_class |
|
lithology_att |
|
lithology_att_id |
|
lithology_att_type |
|
environ |
|
environ_id |
|
environ_type |
|
environ_class |
|
pbdb_collection_no |
|
econ |
|
econ_id |
|
econ_type |
|
econ_class |
|
project_id |
|
adjacents |
|
More information can be found for the inputs for this function
using the definition functions (beginning with defs_
).
A dataframe
containing the following columns:
col_id
: The unique identification number of the Macrostrat
column containing the section.
col_area
: The area of the associated Macrostrat column in
km2.
section_id
: The unique identification number of the Macrostrat
section.
project_id
: The unique identification number of the Macrostrat
project.
max_thick
: The maximum thickness of the section, in meters.
min_thick
: The minimum thickness of the section, in meters.
t_age
: The age of the top of the section, estimated using the
continuous time age model, in millions of years before present.
b_age
: The age of the bottom of the section, estimated using
the continuous time age model, in millions of years before present.
pbdb_collections
: The number of PBDB collections contained
within the section.
lith
: a dataframe
containing the lithologies present
within the section, with the following columns:
name
: The named lithology (e.g., "sandstone").
type
: The named lithology type (e.g., "siliciclastic").
class
: The named lithology class (e.g., "sedimentary").
prop
: The proportion of the lithology within the section,
calculated from the individual Macrostrat units within the section.
lith_id
: The unique identification number of the lithology.
environ
: a dataframe
containing the environments
present within the section, with the following columns:
name
: The named environment (e.g., "delta plain").
type
: The named environment type (e.g., "siliciclastic").
class
: The named environment class (e.g., "marine").
prop
: The proportion of the environment within the section,
calculated from the individual Macrostrat units within the section.
environ_id
: The unique identification number of the
environment.
econ
: a dataframe
containing the economic attributes
present within the section, with the following columns:
name
: The named economic attribute (e.g., "gold").
type
: The named economic attribute type (e.g., "mineral").
class
: The named economic attribute class (e.g., "precious
commodity").
prop
: The proportion of the economic attribute out of
all economic attributes contained within the section, calculated
from the individual Macrostrat units within the section.
econ_id
: The unique identification number of the economic
attribute.
Christopher D. Dean
Bethany Allen
Macrostrat data entities:
def_columns()
,
get_age_model()
,
get_columns()
,
get_units()
# Get sections within a specified column
ex1 <- get_sections(column_id = 10)
# Get sections at a specific geographic coordinate
ex2 <- get_sections(lng = -110.9, lat = 48.4)