If there's a long simulation being done it would be good to give feedback to the user on how long it will take to complete so that they know the app isn't being unresponsive and they don't start trying to re-run it.
https://shiny.rstudio.com/articles/progress.html The issue will be that we're looping inside a function, predict_beds(), and so will have to embed the progress bar within that and ensure that the withProgress() call wraps the call to the right part of the server call.
From discussion in #55
If there's a long simulation being done it would be good to give feedback to the user on how long it will take to complete so that they know the app isn't being unresponsive and they don't start trying to re-run it.
https://shiny.rstudio.com/articles/progress.html The issue will be that we're looping inside a function,
predict_beds()
, and so will have to embed the progress bar within that and ensure that thewithProgress()
call wraps the call to the right part of the server call.