push: Pushes new view.json or data.json to the visualization server

Description Usage Arguments Value See Also Examples

View source: R/push.R

Description

Pushes new view.json or data.json to the visualization server

Usage

1
push(visualization, type, list)

Arguments

visualization

the visualization to be updated

type

the type of file to be update, view or data

list

the list object that contains the view or data

Value

an updated visualization object and new data/view.json on the server

See Also

visualizeR::saveJSON()

Examples

1
2
3
4
5
6
7
x <- seq(from = 0, to = pi, by = 0.1)

#simple array
d <- appendData(variableName = "simpleArray", variable = cos(x), type = "1D Y array")
d <- appendData(data = d, variableName = "simpleArray2", variable = sin(x), type = "1D Y array")
v <- new("visualization")
push(v, type="data", d)

jwist/visualizeR documentation built on Dec. 1, 2019, 5:11 p.m.