View source: R/perspective-shiny.R
| psp_replace | R Documentation |
Replaces the entire dataset in the Perspective table.
psp_replace(proxy, data, use_arrow = FALSE)
proxy |
A |
data |
A data.frame containing the replacement data. |
use_arrow |
Logical; use Arrow IPC serialization. Default |
The proxy object (invisibly), for chaining.
if (interactive()) {
proxy <- perspectiveProxy(session, "viewer")
psp_replace(proxy, updated_data)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.