TMBish / Stratton

A movie analytics shiny app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

Use

I've hosted this app on a personal AWS shiny server which you can access here.

If you want to play around with it on your local machine you can do so pretty easily. This will also run quite a bit quicker (depending on your machine size) since I multi-threaded the webscraping which isn't utilized on the AWS VM which has only 1 core.

Step 1

Get some packages you might not already have:

# Packs on CRAN
cran_packs = c("shinyBS", "shinyjs", "DT", "highcharter", "devtools")
lapply(cran_packs, install.packages)

# Shiny Sky
library(devtools)
install_github("AnalytixWare/shinysky")

Step 2

Thank Rstudio for thier sweet runGithub function:

runGithub("TMBish/Stratton")

Issues & Improvements

  • Add: Movie timeline tab in nice bootstrap template
  • Issue: IMDB scraping is much slower but box office mojo is prone to data errors:
    • BOM have a really crap URL system leading to lots of missing financial data if you scrape this data source (for example this dumbass url)
  • Add: error region for LOESS regression - looks nicer that way
  • Add: functionality to dynamically label clusters a la 538 - I think this would be challenging.

About

A movie analytics shiny app


Languages

Language:R 92.6%Language:HTML 4.9%Language:CSS 2.5%