This repo is an interactive data visualization project for Prof. Bailey.
-
Download the repo as a zip file (or clone it)
-
Set the
IdealPoints
folder as the working directory in R. -
Change the API key in
server.R
to an active one (see email or register with plot.ly). -
Install the
plotly
package from GitHub# Install and load the devtools package. install.packages("devtools") library("devtools") # install plotly install_github("ropensci/plotly")
-
Call
shiny
inside Rshiny::runApp()