We could deploy App with URL etc etc.
But how can we just share the rendered data in Shiny securely via REST API ?
Relevant links:
https://groups.google.com/forum/#!topic/shiny-discuss/-JYOXAeLCtI
https://analyticsprofile.com/business-analytics/convert-r-programs-into-rest-api/ (example)
plumber/R at main · rstudio/plumber · GitHub (package)
library(shiny)
library(tidyverse)
ui <- fluidPage(
DT::dataTableOutput("display")
)
server <- function(input, output, session) {
output$display <- DT::renderDataTable({
#browser()
DT::datatable(mtcars,
options = list(pageLength = 7,scrollX = TRUE))
})
# How to send this data via REST API securely ?
}
shinyApp(ui, server)