Creates a Perspective viewer output element for use in a Shiny UI.
Details
The following reactive inputs are available (where outputId is the
ID you supply):
input$<outputId>_configViewer configuration changes.
input$<outputId>_clickCell/data-point click events.
input$<outputId>_selectRow/data-point selection events.
input$<outputId>_updateTable data changes (requires
psp_on_update).input$<outputId>_exportExported data (after
psp_export).input$<outputId>_stateSaved viewer state (after
psp_save).input$<outputId>_schemaTable schema (after
psp_schema).input$<outputId>_sizeTable row count (after
psp_size).input$<outputId>_columnsTable column names (after
psp_columns).input$<outputId>_validate_expressionsExpression validation results (after
psp_validate_expressions).
Examples
if (interactive()) {
library(shiny)
ui <- fluidPage(
perspectiveOutput("viewer", height = "600px")
)
}