Ask Your Question
3

What is the process for using plumber/REST API to share the output of shiny with fellow programmers?

asked 2021-12-26 11:00:00 +0000

nofretete gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-03-21 10:00:00 +0000

ladyg gravatar image

The process for using plumber/REST API to share the output of shiny with fellow programmers includes the following steps:

  1. Install and load the plumber package in R.

  2. Create the API endpoints that will be used to access the Shiny app's output. This involves defining the input and output parameters of the endpoints and writing R code to process the inputs and generate the outputs.

  3. Save the code as an R script file.

  4. Start the API by running the code in the R console or in a terminal window.

  5. Share the URL of the API endpoints with fellow programmers who want to access the Shiny app's output.

  6. Programmers can send requests to the API endpoints using any programming language or tool that can make HTTP requests, such as Python or cURL.

  7. The API will receive the requests and send back the output generated by the Shiny app.

  8. Programmers can then use the output to further analyze or visualize the data.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-12-26 11:00:00 +0000

Seen: 9 times

Last updated: Mar 21 '22