Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/colearendt/shiny-auto-refresh
JavaScript auto-refresh playground in a Shiny app
https://github.com/colearendt/shiny-auto-refresh
dashboard javascript refresh shiny timer
Last synced: 28 days ago
JSON representation
JavaScript auto-refresh playground in a Shiny app
- Host: GitHub
- URL: https://github.com/colearendt/shiny-auto-refresh
- Owner: colearendt
- Created: 2020-02-04T02:29:40.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-04T02:48:12.000Z (almost 5 years ago)
- Last Synced: 2024-11-12T03:54:26.904Z (2 months ago)
- Topics: dashboard, javascript, refresh, shiny, timer
- Language: R
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - colearendt/shiny-auto-refresh - JavaScript auto-refresh playground in a Shiny app (R)
README
# Shiny Auto Refresh
Per [this community
discussion](https://community.rstudio.com/t/auto-refresh-persistently-displayed-shiny-app-when-new-version-is-deployed-to-rstudioconnect/50513?u=cole),
dashboards that are shown / auto-updating on monitors have the occasional need
to refresh automatically. The simplest way to do so is with a timer that
auto-reloads the app every X minutes.This app shows a simple pattern for how to accomplish using `shinyjs` to embed
a timer into the frontend of the application (using `setTimeout()`).The JavaScript could easily be added as a `` tag in the HTML, as well.