gmGet
retrieves the information on specified objects stored in a geometallurgical database.
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)
gmExpr
can be used as well.expr
.gmGet
, data.frame for gmGetVar
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.
gmRead
, gmExpr
## Not run: gmGet(root)
# gmGetVar(root, "gmUser")## End(Not run)
Run the code above in your browser using DataLab