label2elem: translate label to element

Description Usage Arguments Details Value Examples

Description

Translate a full name of a component into the element name (field name) of the dgsa database

Usage

1
label2elem(label)

Arguments

label

Label to translate, case sensitive

Details

The DGSA database is a table with many elements. Each field has a name consiting of analytical technique and name of the element. This functions translates the full name of an element (e.g. Al Total) into the name of the field (e.g. xrfal2o3).

Value

field name in database

Examples

1
2
label2elem("Al total")
# returns "xrfal2o3"

jspijker/dgsa documentation built on May 10, 2019, 12:09 a.m.