Steam Web Scraping and Recommendation

Posted on Nov 4, 2018

Data Background:

Steam is a digital distribution platform initially released in 2003 by Valve Corporation as a means of purchasing and playing video games and has a lot of gaming data.

  • Current estimated total of 291 million registered accounts
  • All-time peak of 18,537,490 concurrent users (January 14, 2018).
  • $4.3 billion in revenue (2017), accounting for 18% of PC game sales.

What was Scraped?

A scrapy project was created to access all of the gaming data available on https://store.steampowered.com.  From each product, the following were scraped:

  • Title
  • Developer
  • Publisher
  • Price
  • Release Date
  • Genres
  • Metascore (a weighed average of critic reviews that assign more importance to certain critics and publications based upon their quality and stature)
  • Early Access

The Data:

Over 40,000 products were scraped, including DLCs, game bundles and collections, and non-game products with release dates from May 5, 1998 to October 25, 2018.  The data was cleaned by:

  • Removing non-games such as video-editing tools.
  • Filtering out Early Access Games.
  • Cleaning for N/A or missing data for price and metascore, leaving behind Free to Play games.
  • Changing prices for steam games that pulled bundle or sale prices rather than regular price.

Challenges:

Using the American ESRB and European Pegi rating systems, video games are rated and restricted by age to prevent inappropriate material from being accessed by underage players.  Using these ratings, Steam has set up a systematic site-wide age checker that manually forces individuals accessing certain games on the Steam website for their birthdays.  This system is session-based and is normally not more than a slight bump for anyone wishing to access a game's contents.  However, for a web scraping project, this proved quite difficult to surmount.  As a result, the code failed to scrape a number of mature games from Steam.

Analysis:

There is a trend that sees prices rise as time passes.  However, this could be a result of current deep discounts on old video games dating back to before the new millennium.  At the same time, one can see a slight trend of Metascores decreasing as the years pass.  This trend could be a result of an increase in developers, particularly smaller developers, churning out games that aren't of the highest quality.  Lastly, there is a slight trend of prices rising with the increase in the Metascore, though a number of older games or games developed by small studios can be seen with high Metascores.

When analyzing how each genre performs, we can see average Metascores of around 70 with a trend of higher prices for better rated games.  However, the reality is that the correlation for all of them are too low ( < .2)to actually to account for any real correlation.

Shiny App:

In addition, a shiny app was created encompassing all of the analysis and included a Recommendation System that allows an user to pick the genres and price ranges to find a video game from a list that would meet one's gaming requirement.

Future Developments:

  • Fix code to scrape Steam games behind age wall.
  • Using Steam API to scrape most popular games.
  • Determine release price and compare to current price
  • Compare and contrast games by each developer.
  • Scrape player reviews to:
    • Determine short- and long-term trends in player reviews.
    • Compare with critic reviews.
  • Analyze Early Access games.
  • Make plots interactive.

The skills I demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

About Author

YiYang Cao

A data scientist with an extensive background in analyzing the impact of international events upon economics, law, and politics. A problem solver, possessing solid skills in R, Python, machine learning, and neural networks, eager to reveal useful insights...
View all posts by YiYang Cao >

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI