Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nrennie/tidytuesday-shiny-app
Shiny app to display and explore #TidyTuesday plots.
https://github.com/nrennie/tidytuesday-shiny-app
r r-shinylive shiny shinylive tidytuesday webr
Last synced: 2 months ago
JSON representation
Shiny app to display and explore #TidyTuesday plots.
- Host: GitHub
- URL: https://github.com/nrennie/tidytuesday-shiny-app
- Owner: nrennie
- License: cc-by-4.0
- Created: 2023-08-02T09:49:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-10T21:01:47.000Z (6 months ago)
- Last Synced: 2024-07-11T00:27:28.889Z (6 months ago)
- Topics: r, r-shinylive, shiny, shinylive, tidytuesday, webr
- Language: R
- Homepage: https://nrennie.github.io/tidytuesday-shiny-app/
- Size: 256 MB
- Stars: 18
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# #TidyTuesday Shiny App
#TidyTuesday is a weekly data challenge aimed at the R community. Every week a new dataset is posted alongside a chart or article related to that dataset, and ask participants explore the data. You can access the data and find out more on [GitHub](https://github.com/rfordatascience/tidytuesday/blob/master/README.md).
My contributions can be found on [GitHub](https://github.com/nrennie/tidytuesday), and you can use this Shiny app to explore my visualisations with links to code for each individual plot. You can also follow my attempts on Mastodon at [fosstodon.org/@nrennie](https://fosstodon.org/@nrennie).
This Shiny app allows you to display and explore my #TidyTuesday plots, and allows a you to see examples that use specific packages. Links to the original #TidyTuesday data alongside links to code scripts on GitHub are provided. A list of packages found in each script is provided.
## Deployment
This Shiny app is deployed via GitHub pages using [shinylive](https://posit-dev.github.io/r-shinylive/) with [webR](https://docs.r-wasm.org/webr/latest/). See [Rami Krispin's tutorial](https://github.com/RamiKrispin/shinylive-r) for details on how to deploy your own R Shiny app using shinylive.
A couple of small gotchas:
* I had to load external data using `load(url("url_to_file/file.RData"))`.
* Not all packages (including `shinythemes`) are supported so not all parts of the original (non-shinylive) app could be directly transported over.
* When viewing the app with some of these bugs in it, it simply returned a `404 Not found` error. Using the [shinylive editor mode](https://shinylive.io/r/editor/) was really helpful.Find a bug? [Report as a GitHub issue](https://github.com/nrennie/tidytuesday-shiny-app/issues).