geomaterials_contain_any_elems: geomaterials that contain any one of the given elements

View source: R/mindat_geomaterials.R

geomaterials_contain_any_elemsR Documentation

geomaterials that contain any one of the given elements

Description

: Queries the list of geological materials that contain any one of the given elements.

Usage

geomaterials_contain_any_elems(any_elems, ...)

Arguments

any_elems

vector of elements.

...

Further named parameters.Other optional arguments-Additional arguments.

Details

This function releated to the field "elements_inc" of geomaterials. This function queries the list of geological materials that contain any element of an given list (any_elems). It performs the query operation by looping through each given element and calling the mindat_geomaterial_list function.

Value

df, a data frame of geomaterials.

Examples

## Not run: 
df <-geomaterials_contain_any_elems (c('Fe','S'),fields ="id,name,mindat_formula,elements")

## End(Not run)

OpenMindat documentation built on June 8, 2025, 1:47 p.m.