Michael Noetel
15/12/17
App Pitch
Ever try to pick a movie with your partner? Disasterous, right? Studies have shown* movie night stalemates can cause:
*May not be an actual fact
Rotten tomatoes is popular but many people, my wife included, use it wrong:
Our godfather in data science, GGPlot2's Hadley Wickham, as a database of movies 58,788 with their ratings. Our solution lets you use these data to pick the best movie for you.
in.years <- movies[between(movies$year,input$year[1],
input$year[2]),]
in.rating <- in.years[between(in.years$rating,input$rating[1],
input$rating[2]),]
in.genre <- in.rating[in.rating[[input$genre]] == 1,]
ordered <- in.genre[order(-in.genre$rating),]
ordered[, c(1,2,5)]
We take the parameters you want, then sort and filter Hadley's database, ranking movies by their ratings. You end up with an ordered list of the best movies. Say you want the top 3 comedies ranked 9+ from the last 15 years? No problem!
# A tibble: 3 x 3
title year rating
<chr> <int> <dbl>
1 Penis Envy 2004 9.9
2 Plight of Clownana, The 2004 9.9
3 Cashback 2004 9.8
To save your movie night, go to https://mnoetel.shinyapps.io/dataproductsassignment/