RomVariableDefinition | R Documentation |
Object for storing a single feature with attribute and timeseries related
Has standard methods for managing data and meta data
feature class of type RomFeature
the data from the remote connection
instance of dHVariablePlugin
hydrotools::RomEntity
-> RomVariableDefinition
base_entity_type
kind of entity
pk_name
the name of this entity's pk column
varkey
The unique alphanumeric key for this variable
varname
the name of this entity
varcode
alpha code for this entity from original dataset
varid
duplicate of hydroid, more common name
hydroid
unique ID (integer)
varunits
cfs/MGD, ...
plugin
handler code for advanced operations
vardesc
notes field
vocabulary
group that this belongs to
datatype
type of data
multiplicity
determine allowable uniqueness
hydrotools::RomEntity$delete()
hydrotools::RomEntity$get_prop()
hydrotools::RomEntity$get_vardef()
hydrotools::RomEntity$handle_config()
hydrotools::RomEntity$insure_varid()
hydrotools::RomEntity$load_plugin()
hydrotools::RomEntity$propvalues()
hydrotools::RomEntity$save_field()
hydrotools::RomEntity$set_prop()
hydrotools::RomEntity$tsvalues()
new()
RomVariableDefinition$new(datasource = NULL, config, load_remote = FALSE)
datasource
RESTful repository object
config
list of attributes to set, see also: to_list() for format
load_remote
automatically query REST dataa source for matches?
object instance
get_id()
RomVariableDefinition$get_id()
get_id the unique id of this entity alias to remote pkid, subclassed as function
to_list()
RomVariableDefinition$to_list()
list of object attributes suitable for input to new() and from_list() methods
from_list()
RomVariableDefinition$from_list(config)
config
list of attributes to set, see also: to_list() for format
NULL
save()
RomVariableDefinition$save(push_remote = FALSE)
push_remote
update locally only or push to remote database
NULL
load_data()
RomVariableDefinition$load_data(config, load_remote)
config
load_remote
automatically query remote data source for matches?
get_plugin()
RomVariableDefinition$get_plugin(thisobject)
thisobject
an instance of RomEntity with vardef enabled
clone()
The objects of this class are cloneable with this method.
RomVariableDefinition$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.