Description Core functions Transformation functions Author(s) References
The package provides an extendable interface to conveniently create nested object structures based on using environments.
Object values can be set and retrieved based on path-like names/identifiers (e.g. 'output/print/type = "pdf"' will be translated into the following nested environment structure: 'output$print$type' with the value being'"pdf"').
Also, it allows to specify reactive nested object structures, i.e. objects that are dynamically linked to other objects and thus automatically stay synced.
Furthermore, the package provides means to transform nested environment structures to nested lists and JSON objects.
setNested
:
Creates a nested object structure based on a path-like id
with the
last ID component being the actual object name that value
is assigned
to.
getNested
:
Retrieves value from a nested object structure based on a path-like
id
with the last ID component being the actual object name that contains
the value.
rmNested
:
Removes a component from a nested object structure based on a path-like
id
with the last ID component being the name of the actual object
being removed.
fromList
:
Creates a nested environment
object structure based on a
list
object structure.
toList
:
Creates a nested list
object structure based on an
environment
object structure.
fromJson
:
Creates a nested environment
object structure based on a JSON
object structure.
toJson
:
Creates a nested JSON
object structure based on an nested
environment
object structure.
Janko Thyson janko.thyson@rappster.de
http://github.com/Rappster/nestr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.