Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example app throughout the course #20

Open
StatsRhian opened this issue Apr 19, 2024 · 0 comments
Open

Add example app throughout the course #20

StatsRhian opened this issue Apr 19, 2024 · 0 comments

Comments

@StatsRhian
Copy link
Member

StatsRhian commented Apr 19, 2024

I find it's helpful to have a single shiny application which is built throughout the course so learners can see the concepts introduced on a real example.

Data set

Probably something from {NHSRdatasets} or NHS workforce statistics (which I may add to {NHSRdatasets}

Building it up

  • Add the layout (sidebar with title)
  • Add the inputs
  • Add the outputs (table & a plot)
  • Change so it uses reactive()
  • ? Use actionButton() and eventReactive() or bindEvent() to change reactive graph
  • Add styling with {bslib} (valuebox?)
  • Move any R code into functions sourced via R/
  • Deploy to shinyapps.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant