Get base unit of a variable of a StoX dataType
getBaseUnit(
dataType,
variableName,
element = c("unit", "quantity"),
list.out = FALSE
)The name of a StoX DataTypes.
The variable name to get base units from.
The element to get, one of "unit" and "quantity".
Logical: If TRUE return both elements in a list.