Learn how to make interactive tables, graphs and text from data.
In a two-sessions workshop, Nick van Doormaal will demonstrate how to use the shiny
package to create interactive web applications. Note that this is the second session of a two-sesssion workshop. The first session (on Thursday March 17) was be a basic introduction on the different components of a shiny app. In this second session we explore into more depth how ‘reactivity’ works, an important component of most shiny apps.
To prepare for the workshop, you may want to take a look this key resource for shiny
, in particular Chapter 3.
In advance of the workshop, we suggest you install these two R packages (just copy and paste this line into your R Studio Editor and run it)
install.packages(c(“tidyverse”, “shiny”))
Nick van Doormaal is a former PhD candidate at the NSCR and currently a data analyst at the environmental service of the province of Gelderland. He got into R during his MSc thesis and internship and has been using R ever since.
Join this workshop meeting on Zoom by clicking this link
On Nick’s GitHub repository nscr-shiny-workshop you can find the data and the R script that documents the development that Nick demonstrated during the workshop.
To download files from GitHub you can:
Clone
the repository to create a local copy in your computer. To clone a repository, follow the instructions here.
Alternatively, you can:
ZIP
. To do this, go to the repository and click on the green code
button, then select download ZIP
. Unzip the downloaded file into a folder on your local computer.raw
button. Then right click on the new page and select save as
. Don’t forget to put the proper extension in the save name, like .R
or .Rmd
.
For attribution, please cite this work as
Doormaal (2022, March 31). NSC-R Workshops: Creating web applications with Shiny (2/2). Retrieved from https://nscrweb.netlify.app/posts/2022-03-31-shiny-2of2/
BibTeX citation
@misc{doormaal2022creating, author = {Doormaal, Nick van}, title = {NSC-R Workshops: Creating web applications with Shiny (2/2)}, url = {https://nscrweb.netlify.app/posts/2022-03-31-shiny-2of2/}, year = {2022} }