Skip to contents

In-browser storage for Shiny persistent, synchronized data from the inputs using IndexedDB

When you build a shiny app that allows a user to change inputs and see the results immediately, guess what the user is itching to have?? The ability to change the inputs and when they refresh or reopen the shiny app at a later time, still see the inputs they previously entered. Well, shinyStorePlus R package gives that!

Example code:

Start with a simple example code #1: https://github.com/oobianom/shinyStorePlus/tree/main/inst/example/storeInputs
Start with a simple example code #2: https://github.com/oobianom/shinyStorePlus/tree/main/inst/example/browserLinkToInput
Transformation of various shiny apps using the shinyStorePlus package: https://github.com/oobianom/aagarw30_shinyapps_to-shinyStorePlus

As of version 0.8, you are also able to transfer the parameters in a browser link to Shiny inputs and outputs. e.g extracting the value of name from http://127.0.0.1:6692/?data=pressure&name=obinna&num=50&outt=wowowow. See shiny app step by step tutorial


Installation and Usage

Install

install.packages(shinyStorePlus)

Use example

seeexample()

Link to shiny app as of v0.7

Link to shiny app as of v0.8

Demo screenshot