Scripts and slides for presentations on Shiny. The presentation and material have been adapted for many different uses– hopefully yours is below!
{learnr}
to supercharge
your code teachingThe shinyoverview repo contains
tutorials for {shiny}
applications. If there are exercises
with solutions, they are in a subfolder called sol/
. You
can either clone the whole repo, or download the folder for a specific
tutorial.
{shiny}
{shiny.i18n}
{leaflet}
{learnr}
{shiny}
with {ggplotly}
If you want to try out the app examples, install the following packages:
# Basics
library(tidyverse)
library(kableExtra) # nice tables
# Shiny
library(shiny)
library(shinythemes) # bootstrap themes
# Interactive plots
library(plotly)
# Making tutorials
library(learnr) # interactive tutorials
# remotes::install_github("rstudio-education/gradethis")
library(gradethis)
# Visualizing reactivity
library(reactlog)
This talk will introduce Shiny and its glorious abilities, with the assumption that you have heard of Shiny but haven’t necessarily used it yet. Because there are tons of great examples online, I have highlighted tools that I have found useful and fun. The talk structure will be, more or less:
shiny
functionalityshiny
These latter two sections are optional but materials are included for you to explore on your own:
shiny
apps using
{shiny.18n}
{learnr}
Novel-gazing (for Goodreads users)
Adopt Don’t Shop (collaboration with Nyssa Silbiger)
Marine Mammal Bycatch Impacts Exploration Tool (Collaboration with The Ocean Modeling Forum’s Marine Mammal Bycatch Working Group)