This repository is a small set of examples for the mwshiny package in R for various multi-monitor situations, as presented at useR! 2019 in Toulouse, France. Presentation slides from this conference can be downloaded as well, as either a .pptx or a .pdf under the title "Presentation useR 7 10 19". The examples demonstrate the following:
- Multiple Monitors at a Workstation (Population Dynamics): folder "pop"
- Controller Driving External Monitor (Cultural Exploration through Art): folder "art"
- Alternative Visualization Structures through the Rensselaer Campfire (Circadian Rhythm Functionality): folder "health"
- Download R and RStudio.
- Download/clone this repository.
- After opening RStudio, open the main R script of the example you're interested in, listed below:
Folder | R Script |
---|---|
pop | pop_mwshiny.R |
art | art_app.R |
health | encore_demo.R |
- Install all packages required (these are listed at the beginning of the script) using the function
install.packages()
or the corresponding Bioconductor installation code. - For both the pop and art examples, you will need a Mapbox access token. You can get that here. Once you have that token replace the empty string in the following code in the script with your Mapbox token:
mapbox <- ""
- For the pop example, you will need a US Census API token. You can get that here. Once you have that token replace the empty string in the following code in the script with your US Census token:
key <- ""
- For the health example, supporting files are too large to upload to GitHub. To learn more about downloading the data and about this methodology, check out ENCORE here.
- Once you're done downloading/replacing everything, run the script! Enjoy!
Data for each of the examples come from:
Example | Source |
---|---|
pop | US Census 2010 |
art | Wikipedia |
health | Hughes, et al. (2009) |
Hannah De los Santos / email: hdelossantos653 at gmail.com