Rockbuster Video Rentals Analysis

Tools: PostgreSQL, Tableau

Posted by Graham Field on February 01, 2024 · 12 mins read

Rockbuster Video Rentals

Posted by Graham Field on March 10, 2024 – 10 mins read

Project Overview

Duration of the project: 1 week

Role: Data Analyst

Tools:

  • PostgreSQL
  • Tableau

Data:

  • Relational Database
  • 2 Fact tables and 13 Dimension Tables

Key Questions

  • Which movies contributed the most/least to revenue gain?
  • What was the average rental duration for all videos?
  • Which countries are Rockbuster customers based in?
  • Where are customers with a high lifetime value based?
  • Do sales figures vary between geographic regions?

Introduction

Rockbuster Stealth LLC is a movie rental company that used to have stores around the world. Facing stiff competition from streaming services such as Netflix and Amazon Prime, the Rockbuster Stealth management team is planning to use its existing movie licenses to launch an online video rental service in order to stay competitive.

Getting to Know the Data

I began by creating a diagram of the tables which resembled a snowflake pattern, in addition to this I created a data dictionary which I needed for the joins later on. I started to search for duplicate and missing records to make sure my data was complete and consistent.

Data Cleaning

Next was describing the data so that I could have some idea what I was working with. For example this SQL query is calculating the mode (most frequently occurring value) for several columns in the film table from a PostgreSQL database. The query uses the MODE() function within the GROUP BY clause to achieve this.

Data Cleaning

We can use this to find things like most popular film genre, longest movie, average movie rental, which genres contribute the most revenue, where are the most loyal customers and which are restrictions are the most popular.

Results

High Customer and Payment Countries:

Data Cleaning

  • India, China, and the United States: These countries have the largest red circles, indicating they have generated the highest total payments. They are also shaded in darker blue, suggesting a higher number of customers.
  • Other notable countries: Brazil, Japan, and Russia also have significant red circles, indicating substantial payments and a good number of customers.

Moderate Customer and Payment Countries:

  • Countries like Canada, Australia, Germany, and the United Kingdom have moderate red circles and are shaded in medium blue, indicating a moderate number of customers and payments.

Low Customer and Payment Countries:

  • Many countries in Africa, parts of South America, and some parts of Asia and Europe are shaded in lighter blue, indicating fewer customers. The red circles, if present, are small, indicating lower total payments.

Insights:

  • The video rental company seems to have a strong presence in major economies such as the US, India, and China, both in terms of customer base and revenue.
  • There is significant variation in customer and payment distribution globally, with some regions contributing more than others.
  • This data can be useful for the company to identify key markets and potential areas for growth. Focusing on regions with lower customer numbers but high potential for growth could be beneficial.

Rental Rate by NCPP Rating:

Data Cleaning

  • G Rating: Average Rental Rate: 2.9237
  • Movies rated G (General Audiences) have an average rental rate of approximately 2.92.
  • NC-17 Rating: Average Rental Rate: 2.9710
  • Movies rated NC-17 (Adults Only) have an average rental rate of approximately 2.97.
  • PG Rating: Average Rental Rate: 3.0519
  • Movies rated PG (Parental Guidance Suggested) have the highest average rental rate of approximately 3.05.
  • PG-13 Rating: Average Rental Rate: 3.0348
  • Movies rated PG-13 (Parents Strongly Cautioned) have an average rental rate of approximately 3.03.
  • R Rating: Average Rental Rate: 2.9387
  • Movies rated R (Restricted) have an average rental rate of approximately 2.94.

Insights:

  • PG and PG-13 Rated Movies: These categories have the highest average rental rates, with PG-rated movies slightly leading at 3.0519, followed closely by PG-13 at 3.0348. This suggests that movies in these categories are rented at higher rates compared to other ratings.
  • G, NC-17, and R Rated Movies: These categories have slightly lower average rental rates, with NC-17 having the highest rate among them at 2.9710, followed by R at 2.9387 and G at 2.9237.
  • The rental rate differences among the ratings are relatively small but can indicate preferences or pricing strategies based on movie ratings.

Top 10 Customers:

Data Cleaning

  • Top Spenders: Eleanor Hu. from Saint-Denis, Reunion, and Clara Shaw from Molodetno, Belarus, are the highest spenders with $211.6 and $189.6, respectively.
  • High Spenders: All customers listed are significant contributors to revenue, with the lowest among them (Roland So. from Yingkou, China) spending $80.8.
  • Moderate to High Spending: Other customers, such as Casey Mena, Sara Perry, Leslie Sew., and Cecil Vines, show spending amounts between $115.7 and $130.7, indicating a consistent high level of expenditure among the top 10.
  • Geographic Diversity: These top spenders come from a wide range of locations, including Reunion, Belarus, Turkey, Mexico, Indonesia, United Kingdom, Ukraine, United States, Canada, and China, reflecting a broad geographic distribution of high-value customers.

Sales by Genre

Data Cleaning

  • Top Selling Genres: Sports, Sci-Fi, and Animation are the top three genres with the highest total sales, indicating their popularity among customers.
  • Moderate Selling Genres: Genres such as Comedy, Drama, Family, and Games show moderate total sales, ranging from approximately 3,750 to 4,118.
  • Low Selling Genres: Thriller has significantly lower total sales (48) compared to other genres, indicating it is the least popular genre among customers.
  • Sales Distribution: There is a noticeable gap between the highest selling genre (Sports with 4,892 sales) and the lowest selling genre (Thriller with 48 sales), showing a wide range of customer preferences.

Recommendations

Geographic Data Recommendations:

  • Focus on High Revenue Regions:
    • Increase marketing efforts in countries with high total payments such as the United States, India, and China. These markets already have a significant customer base and high revenue, indicating a strong interest in video rentals.
    • Implement localized promotions and advertisements to cater to regional preferences and enhance customer loyalty in these key markets.
  • Expand in Moderate Revenue Regions:
    • For countries like Brazil, Japan, and Russia, where there is a moderate customer base and revenue, consider targeted campaigns to boost engagement and increase market share.
    • Analyze customer behavior in these regions to tailor offers and services that meet their specific needs and preferences.
  • Explore Untapped Markets:
    • Identify countries with potential for growth but currently low customer numbers and revenue. Consider offering special deals or introductory offers to attract new customers.
    • Conduct market research to understand barriers to entry and customer preferences in these regions to effectively penetrate these markets.

Rental Rate by NCPP Rating Recommendations:

  • Optimize Pricing for High Demand Ratings:
    • PG and PG-13 rated movies have the highest average rental rates, indicating strong demand. Consider maintaining or slightly increasing rental prices for these categories to maximize revenue without deterring customers.
    • Offer bundle deals or subscriptions featuring a mix of PG and PG-13 rated movies to provide value and encourage repeat rentals.
  • Promote Lower Demand Ratings:
    • For G, NC-17, and R rated movies, which have lower average rental rates, consider promotions or discounts to boost rentals.
    • Highlight unique or popular titles within these categories to attract customer interest.

Top 10 Customers Recommendations:

  • Enhance Customer Loyalty Programs:
    • Recognize and reward top spenders like Eleanor Hu. and Clara Shaw with exclusive benefits such as early access to new releases, special discounts, and personalized recommendations.
    • Implement a tiered loyalty program to incentivize spending and engagement across different customer segments.
  • Personalized Marketing and Communication:
    • Use customer data to send personalized offers and communication. Tailor marketing messages based on past rental behavior and preferences to increase relevance and response rates.
    • Regularly engage with top customers through newsletters, surveys, and feedback forms to strengthen relationships and gather insights for service improvement.

Sales by Genre Recommendations:

  • Boost Inventory for Popular Genres:
    • Increase the inventory of high-demand genres like Sports, Sci-Fi, and Animation to ensure availability and meet customer demand.
    • Regularly update and expand the catalog in these genres with new and trending titles to keep the offerings fresh and engaging.
  • Promotional Campaigns for Low Demand Genres:
    • For genres with lower sales such as Thriller, consider running targeted promotions to spark interest. Offer discounted rentals, feature these genres in newsletters, and create themed movie nights or bundles.
    • Highlight critically acclaimed or popular titles within these genres to attract customers who may not typically rent from these categories.
  • Genre-Based Customer Segmentation:
    • Segment customers based on their rental history and preferences for specific genres. Use this segmentation to create targeted marketing campaigns that showcase new releases, recommendations, and promotions in their preferred genres.
    • Offer personalized suggestions and curated lists to enhance the rental experience and drive sales across various genres.

Reflections

My journey with SQL has been both enjoyable and enlightening. One of the aspects I enjoyed the most about using SQL is its powerful ability to handle and manipulate large datasets efficiently. The process of writing queries, optimizing them, and seeing immediate results has been incredibly satisfying. Each successful query felt like solving a puzzle, and the clarity it brought to complex data was immensely rewarding. While I have achieved a lot, I am excited to continue my learning journey and explore the vast possibilities that SQL offers. With continuous effort and curiosity, I aim to master SQL and leverage its full potential in my future projects.