View source: R/perspective-shiny.R
| psp_validate_expressions | R Documentation |
Validates Perspective expression strings against the table without
applying them. The result is delivered asynchronously to
input$<outputId>_validate_expressions.
psp_validate_expressions(proxy, expressions)
proxy |
A |
expressions |
A non-empty character vector of expression strings. |
The proxy object (invisibly), for chaining.
if (interactive()) {
proxy <- perspectiveProxy(session, "viewer")
psp_validate_expressions(proxy, expressions = c("\"col1\" + \"col2\""))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.