wch / movies

Movie explorer Shiny app
10 stars 20 forks source link

This is the source code for a movie explorer app which runs on R and Shiny. The data is a subset of data from OMDb, which in turn is from IMDb and Rotten Tomatoes. The data is saved in a SQLite database.

To run it locally, you'll need to install the latest versions of ggvis, Shiny, and dplyr, as well as RSQLite.

# Install devtools 1.4 if needed
if (!require('devtools') || packageVersion('devtools') < 1.4) install.packages('devtools')

devtools::install_github(c('rstudio/ggvis', 'rstudio/shiny', 'hadley/dplyr'))

install.packages(c('RSQLite', 'RSQLite.extfuns'))

You may need to restart R to make sure the newly-installed packages work properly.

After all these packages are installed, you can run this app by entering the directory, and then running the following in R:

shiny::runApp()