Skip to content

Installation Instructions

Phil Chapman edited this page Feb 24, 2016 · 1 revision

The R package can be installed with minimal dependencies if you just want to view the results database using the in built shiny app, or if you want to run the full pipeline then all suggested packages have to be installed. It may be easier to install using Docker - see instructions in this wiki.

To install with minimal dependencies simply install the devtools package (if it isn't already):

install.packages('devtools')

Then install the package from github:

devtools::install_github('chapmandu2/CollateralVulnerability2016')

Given that you have a SQLite database containing the results of a run of the pipeline, you can then run the shiny app as follows:

library(shiny)
library(CollateralVulnerability2016)
my_con <- setupSQLite('/path/to/db')
shinyVisApp(my_con)
Clone this wiki locally