RomTS | R Documentation |
Object for storing single time series value
Has standard methods for managing data and meta data
reference class of type openmi.om.base.
hydrotools::RomEntity
-> RomTS
base_entity_type
kind of entity
pk_name
the name of this entity's pk column
has_vardef
is pluggable?
tid
unique ID in this RomDataSource
featureid
id of entity this is attached to
entity_type
type of entity this is attached to
tstime
begin timestamp
tsendtime
end time stamp
tsvalue
numerical value
tscode
alphanumeric value
tlid
timeline ID (for future use)
varid
variable ID from RomDataSource
bundle
(for future use)
uid
user id of creator
modified
timestamp
datasource
RomDataSource
sql_select_from
syntax to use to select via an odbc or other SQL based datasource
hydrotools::RomEntity$delete()
hydrotools::RomEntity$get_prop()
hydrotools::RomEntity$get_vardef()
hydrotools::RomEntity$handle_config()
hydrotools::RomEntity$insure_varid()
hydrotools::RomEntity$load_data()
hydrotools::RomEntity$load_plugin()
hydrotools::RomEntity$propvalues()
hydrotools::RomEntity$save_field()
hydrotools::RomEntity$tsvalues()
get_id()
RomTS$get_id()
get_id the id of this entity alias to remote pkid, subclassed as function
new()
RomTS$new(datasource = NULL, config = list(), load_remote = FALSE)
datasource
optional RomDataSource for remote and local storage
config
list of attributes to set, see also: to_list() for format
load_remote
automatically query REST data source for matches?
site
URL of some RESTful repository
object instance
from_list()
RomTS$from_list(config)
config
list of attributes to set, see also: to_list() for format
NULL
to_list()
RomTS$to_list()
list of object attributes suitable for input to new() and from_list() methods
set_prop()
RomTS$set_prop(name, value, format = "default")
name
attribute name
value
attribute value
format
type of data being sent (default, json, ...)
object instance
save()
RomTS$save(push_remote = FALSE)
push_remote
whether to automatically propagate changes to remote data source
boolean TRUE on success, FALSE on failure
clone()
The objects of this class are cloneable with this method.
RomTS$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.