gmGetVariableType
Getting information on variables in a geometallurgy (gm)Database
Reads the variable name metainformation from the gmDatabase.
- Keywords
- utilities
Usage
gmGetVariableType(sel,name,selID=attr(sel,"id"),db=getOption("gmDB"))
Arguments
- sel
- A call representing the intended SQL expression as R expression.
- name
- A character vector giving the names of the variables to be read.
- selID
- The ID attribute of the selection.
- db
- The database connection to the geometallurgical database.
Details
The geometallurgical database allows to store recursive dataframes of arbitrary content, provided that the same variable always contains the same type of information. This command allows to get the information on defined variables including their information.
Value
-
A dataframe with column name, table, decription and var, giving the
name of the variable, the database table storing the information, the
description (definition) of the variable, and the column of the
database containing this data.
Community examples
Looks like there are no examples yet.