Skip to contents

Replaces the entire dataset in the Perspective table.

Usage

psp_replace(proxy, data, use_arrow = FALSE)

Arguments

proxy

A perspectiveProxy object.

data

A data.frame containing the replacement data.

use_arrow

Logical; use Arrow IPC serialization. Default FALSE.

Value

The proxy object (invisibly), for chaining.

Examples

if (interactive()) {
proxy <- perspectiveProxy(session, "viewer")
psp_replace(proxy, updated_data)
}