Shiny app containing visualisations for upis data. (Also CSWeek materials.)
Live @ https://lukaj.shinyapps.io/csw5/
I've upgraded this as a part of my homework for Statistics course in college: source available here. Unfortunately, it's harder to set up as it requires a PostgreSQL database and it's not live anywhere at the moment.
- Clone this repo (
git clone https://github.com/luka-j/csw5-eda.git
) - Download latest data.zip from releases and put it in 'app' directory
- Install R (
sudo apt install r-base
orsudo zypper in R-base
or equivalent) - Run R (using IDE like RStudio, or just
R
) - Install shiny and other packages used by the app (
install.packages(c("shiny", "readr", "ggplot2", "dplyr", "magrittr", "modelr"))
) (this might take a while) - Load shiny (
library(shiny)
) - Check working directory is in the root of this repo (
setwd("path-to-repo")
) - Run app (
runApp("app")
) - After loading, the app should open in your default browser!