shiny_app

Olusola Afuwape
25th September, 2019

Overview

This shiny application used the movies dataset. The application compared the numerical variable audience_score with some of the categorical variables. The dataset was generated from the Rotten Tomatoes and IMDb databases.

Data Manipulation

The shiny application is used to generate boxplots of the numerical response varaible and categorical explanatory variables. 12 variables were used to produce the different boxplots for data graphical visualization.

Exploratory data variable list

The list below showed the 12 required varibles beginning with the response variable:

  1. audience_score
  2. feature_film
  3. drama
  4. mpaa_rating_R
  5. oscar_season
  6. summer_season

Exploratory data variable list

Continuation of the variables list:

  1. best_pic_nom
  2. best_pic_win
  3. best_actor_win
  4. best_actress_win
  5. best_dir_win
  6. top200_box

The Shiny Code

Below is the code for plots:

boxplot(audience_score ~ oscar_season, data = movies, col = c("thistle", "tan"), xlab = "Oscar", ylab = "Audience")

plot of chunk code_plot1

boxplot(audience_score ~ summer_season, data = movies, col = c("yellowgreen", "snow"), xlab = "Summer", ylab = "Audience")

plot of chunk code_plot2

boxplot(audience_score ~ feature_film, data = movies, col = c("slateblue", "mediumaquamarine"), xlab = "Feature film", ylab = "Audience")

plot of chunk code_plot3