A function to retrieve the definitions of different measurements that are included in the Macrostrat database. By default, all definitions are returned.
Arguments
- measure_id
integer
. The unique identification number(s) of the desired measurement(s) to return a definition for.- measurement_type
character
. Filter the returned definitions to those of one or more named type(s) of measurement (e.g., "geochronological"). This is a less inclusive grouping thanmeasurement_class
.- measurement_class
character
. Filter the returned definitions to those of one or more named class(es) of measurement (e.g., "geochemical"). This is a more inclusive grouping thanmeasurement_type
.
Value
A data.frame
containing the following columns:
measure_id
: The unique identification number of the measurement.name
: The name of the measurement.type
: Measurement type, less inclusive than classclass
: Measurement class, more inclusive than type.t_units
: The total number of Macrostrat units containing this measurement.
See also
External data:
def_drilling_sites()
,
get_eodp()
,
get_fossils()
,
get_measurements()
Geologic features and attributes:
def_econs()
,
def_environments()
,
def_grain_sizes()
,
def_lithologies()
,
def_lithology_att()
,
def_minerals()
,
def_structures()
Examples
# \donttest{
# Return all definitions
ex1 <- def_measurements()
# Return subsets of definitions
ex2 <- def_measurements(measure_id = c(1, 2, 4))
ex3 <- def_measurements(measurement_class = "geochemical")
# }