Skip to content
ScotPHO profiles tool code
Branch: master
Clone or download
jvillacampa Merge pull request #13 from ScotPHO/dental_fix
changing alcohol indicators
Latest commit f0a6512 Apr 11, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
www changing inequality tab icon Apr 9, 2019
.gitignore Create Mar 1, 2019
data_preparation.R changing alcohol stays Apr 11, 2019
global.R ca for alcohol too Mar 19, 2019
google-analytics.js fix Nov 13, 2018
rsessioninfo.R updating Sep 18, 2018
server.R fixing rank comparator for geos with same name Apr 9, 2019
ui.R changing inequality icon Apr 9, 2019

ScotPHO profiles tool

In this respository you can find the code used to produce ScotPHO's Online Profiles Tool.


  • data_preparation: reads the data prepared for each indicator and produces a file for the shiny tool. It also prepares a geography lookup, indicator metadata and shapefiles. It's not necessary to run the app.
  • ui: visual interface, what the user can see in the app
  • server: deals with the server side: produces charts, creates reactive objects, etc.
  • global: datasets, functions, objects that are read both by server and ui
  • google-analytics: to allow tracking of visits to the app.
  • rsessioninfo: list that includes the R versions used to develop the app as well as the packages used and their versions. ##Folders
  • data: data used in the app, including shapefiles.
  • www: includes all the images and media used in the app.
You can’t perform that action at this time.