This report seeks to answer several questions about our data. The questions are answered with SQL queries on a 15 table database for a DVD rental company and were then visualized using plotly and RMarkdown. The questions included:

  1. Which films are most costly to replace and why?

  2. Over time, how often are the different ratings and categories of films rented?

  3. Over time, how do the performances of the different stores compare?

  4. What is the current total balance of all of our customers?

The data itself is synthetic and can be found here. For this report, I hosted the database locally to perform the queries. The full project and code can be found here if you would like to reproduce any of the analysis.

You can check out more of my work on my portfolio page or feel free to connect with me on LinkedIn!

Which films are most costly to replace and why?

Of the 1000 films in the database, the average film costs about $19.98 to replace and the individual costs range from $9.99 to $29.99. To get an intuition of why films might be more expensive to replace, it can be helpful to explore the table (Figure 1) below where films are sorted by their replacement cost. It is difficult to learn much this way but as will be shown, there may not even be a definitive connection between a film’s characteristics and its replacement cost.

Note: Language ID and Release Year each only have a single unique value across all of the data.

Figure 1