Description Usage Arguments Details Value Author(s) See Also Examples
gmGet
retrieves the information on specified objects stored in a geometallurgical database.
1 2 3 | gmGet(expr,envir=parent.frame(),EXPR=substitute(expr),db=getOption("gmDB"))
gmGetVar(expr,what,EXPR=substitute(expr),envir=parent.frame(),db=getOption("gmDB"),
unique=FALSE)
|
expr |
R expression of an SQL query. Expressions created with |
what |
The members/variables you want the information from. |
envir |
defines the environment used for evaluation of |
EXPR |
The quoted version of such an expression. |
db |
The database connection for the query. |
unique |
logical: If TRUE the execution is stopped in the case of multiple variables of the same requested variable name. |
Every object corresponding to the query is referred by its id. gmGet
delivers a list consisting of a data frame info
and another list sets
. In info
the values of all atomic members for every found object are stated. sets
consists of data frames, called after the composite member variables, stating the object id and the id of the member object. Since these members are sets, it is possible that the data frames consist of several member objects for one referred object.
If you are interested in information on a certain variable but not the content of variables of this kind, use gmGetVar
instead.
list for gmGet
, data.frame for gmGetVar
K. Gerald van den Boogaart, S. Matos Camacho
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.