Skip to content

A small repository of examples for the mwshiny package in R for various multi-monitor situations.

License

Notifications You must be signed in to change notification settings

delosh653/mwshiny-examples

Repository files navigation

mwshiny-examples: Examples for Multi-Window Shiny

Overview

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:

  1. Multiple Monitors at a Workstation (Population Dynamics): folder "pop"
  2. Controller Driving External Monitor (Cultural Exploration through Art): folder "art"
  3. Alternative Visualization Structures through the Rensselaer Campfire (Circadian Rhythm Functionality): folder "health"

Use and First-Time Set Up Instructions

  1. Download R and RStudio.
  2. Download/clone this repository.
  3. 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
  1. Install all packages required (these are listed at the beginning of the script) using the function install.packages() or the corresponding Bioconductor installation code.
  2. 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 <- ""
  1. 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 <- ""
  1. 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.
  2. Once you're done downloading/replacing everything, run the script! Enjoy!

Data Information

Data for each of the examples come from:

Example Source
pop US Census 2010
art Wikipedia
health Hughes, et al. (2009)

Contact

Hannah De los Santos / email: hdelossantos653 at gmail.com

About

A small repository of examples for the mwshiny package in R for various multi-monitor situations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published