/ShinyAlcoholTrafficMap

Map with WHO data made using R, Shiny and Leaflet

Primary LanguageRGNU General Public License v3.0GPL-3.0

Traffic & Alcohol RStudio Shiny map

This map is contains four datasets from the WHO on alcohol and traffic. It is made using the Shiny framework in combination with Leaflet and googleVis. The map was made for the University of Groningen course Data analytics and communication (WBAI17001). Example of map

Usage

  1. Download the files
  2. Run the setup.r file to fetch all dependencies
  3. Rename EXAMPLE_key.r to key.r and fill in the required fields in the API url. You can also choose to pick a different tiles provider for your baselayer (or use the default OSM)
  4. Change the paths on line 15 and 27 of global.r
  5. Select Run App in RStudio

Used resources