Webscraping IMDb’s website and developing dataset

Screen Shot 2020-04-25 at 8 04 34 PM

This project incorporates some data scraping, data wrangling, data cleaning, and visualizations.

The purpose of the project was to explore the data within IMDb’s TOP 250 films of all-time and determine if there were any meaningful conclusions I could derive from such. I was looking for any correlations between the features I scraped that would eventually be used to drive my visualizations.

Screen Shot 2020-04-25 at 8 04 52 PM

The action genre seems to be the most promising in terms of breaking into film industry. The spread represents many more data points then do the other genres. Although action doesn’t have the films with the highest metascores, they are represented much more amongst the films in the TOP 250 IMDb movies of all-time. If a company decided to go ahead and produce an action-packed film, their chances of making it into the TOP 250 would be much greater than if they were to go with any other genre.

The director that seems to garner the most votes in the action genre appears to be Christopher Nolan when looking at the TOP 20 action films. The Dark Knight is his most successful film with almost double the votes compared to his other films. James Cameron comes in second with Avatar amassing around 1.08 million votes. It’d be smart for the company to hedge their bets and hire Christopher Nolan as their director if they aspire to break in.

When looking at the top actors for the TOP 20 action films, we see three names stick out above the rest. They are: Christian Bale, Mark Hamill, and Robert Downey Jr. With counts of 3, 3, and 2, respectively. If the company had to go with one of these stars, I would definitely recommend they go with Christian Bale. And you may be asking yourself, why not Mark Hamill, since he is also in the TOP 20 action films? … Hopefully, the scatterplot below illustrates my point a little better.

Christian Bale’s appearances in the Batman Begins, The Dark Knight Rises, and the Dark Knight all have more votes than do the films where Mark Hamill is in. Those being Star Wars: Episode IV- A New Hope, Star Wars: Episode V- The Empire Strikes Back, and Star Wars: Episode VI- Return of the Jedi. The film with the least votes for Christian Bale has more votes than the movie starring Mark Hamill with the most votes. Also, Christian Bale’s films are all directed by Christopher Nolan, whereas Mark Hamill’s films are directed by three different directors. Without a doubt, the Christopher Nolan-Christian Bale duo would be a banger in the industry and would definitely disrupt the space in a positive way. The company’s venture would certainly reap the rewards.

Screen Shot 2020-04-25 at 8 05 13 PM

An interesting exploration and subsequent insight that was to look at the correlation between times and gross in terms of genre. What can be derived from this is that the films in the action genre tend to have higher gross as the timespan of the film increases. What this tells the company is that when making their action film, they should focus on making it on the longer side.

Key takeways:

1. Stick with the action genre.

2. Try your best to hire Christopher Nolan as the director for your film.

3. Christian Bale is by far your safest bet at a quality action-packed film.

4. Make the action film longer. The longer the timespan the better it does in the box-office in terms of gross.

Screen Shot 2020-04-25 at 8 32 31 PM

Screen Shot 2020-04-25 at 8 33 16 PM

IMDb Webscraping Project