RomDataGroup | R Documentation |
Object for storing a group of properties
Has standard methods for managing data and meta data related to groups of related properties (e.g. children and parents). Typically called from RomPropertyTree, which inherits this object class
Instance of RomDataGroup or, more likely, RomPropertyTree which is the only Rom object to inherit this object class
an updated config if necessary or FALSE if it fails
the data from the remote connection
the variable definition object for this entity
datasource
RomDataSource typically estbalished via the DEQ config file and should contain any relevant database connections
pk_name
the name of this entity's primary key column. Most often root_pid, but consult the Hydrotools ReadMe for more information
new()
RomDataGroup$new(datasource = NULL, config, load_remote = FALSE)
datasource
URL of some RESTful repository or the host of the target database. At DEQ, this is defined in the default config files.
config
list of attributes to get, see also: to_list() for format. These are passed to RomDataSource$get()
load_remote
automatically query REST data source or remote datasource for matches?
object instance of RomDataGroup or instance of whatever object inherited this class, most likely RomPropertyTree. It will be populated with relevant fields.
handle_config()
RomDataGroup$handle_config(config)
config
#A list of requests to pass to RomDataSource$get()
from_list()
RomDataGroup$from_list(config)
config
list of attributes to set, see also: to_list() for format
NULL
load_data()
RomDataGroup$load_data(config, load_remote)
config
load_remote
automatically query remote data source for matches?
get_vardef()
RomDataGroup$get_vardef(config = FALSE, refresh = FALSE)
config
list of attributes to set, see also: to_list() for format
refresh
automatically refresh var info?
load_plugin()
RomDataGroup$load_plugin()
nothing, but loads the objects plugin
clone()
The objects of this class are cloneable with this method.
RomDataGroup$clone(deep = FALSE)
deep
Whether to make a deep clone.
NA
NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.