Giter VIP home page Giter VIP logo

tidytuesday-shiny-app's Introduction

#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.

My contributions can be found on GitHub, 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.

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.

Screenshot of shiny app showing scatter plot

Deployment

This Shiny app is deployed via GitHub pages using shinylive with webR. See Rami Krispin's tutorial 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 was really helpful.

Find a bug? Report as a GitHub issue.

tidytuesday-shiny-app's People

Contributors

nrennie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tidytuesday-shiny-app's Issues

Implement packages filter

checkboxInput to select (multiple) packages used in scripts. Needs to filter input list of plot titles - move to server.

pkgs missing

Some packages are missing from the list e.g. ggtext, camcorder - why?

Add plots from 2020 and 2021

Plots from 2020 are fine, but plots from 2021 have dd-mm-yyyy naming conventions which needs fixed for R4DS links.

GitHub Actions

Set to run on a schedule once per week to update the data and redeploy the shiny app.

Deployment

  • wait until shinylive?
  • shinyapps.io?
  • re-write with python?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.