Scraping Billboard's Top Albums Data

Posted on Aug 12, 2018


Billboard has been the industry standard for providing weekly music charts since its inception in the mid-20th century. I decided to scrape every week's worth of data from's Top 200 and Catalog Album charts (dating back to 1963 and 1991, respectively). I then conducted analysis of the data in regards to entrants' longevity, ranking, and appearance on both charts.

Web Scraping

Using Python's Scrapy package, I created a web spider for each of the two charts.  Some of the challenges of this particular scraping project were:

  • Converting strings to and from Datetime objects to form URLs, and defining the scope of the URLs crawled
  • Non-uniform object pattern. XPath of chart-topper is different from all other chart entries
  • The XPath was changed while I was testing my program!


Top 200 Analysis

The first question that I wanted to use this data to answer was "what's the best album of all time?" That is certainly not something that can be easily concluded, but the following two figures can help provide some insight:

Assuming that some combination of the two metrics above do measure chart superiority, we can further examine the behavior of our two contenders by viewing their chart ranking over time.

A lot can be said about the behavior of these two charts. I find it particularly interesting the semi-cyclical behavior exhibited by The Dark Side Of The Moon, and how that absolutely is not seen with Thriller.

The next thing that crossed my mind was trying to figure out "who is the best at making albums?" I then conducted a similar analysis - tallying first how many albums a given artist had that reached number one, and then how many different albums reached any level on the charts.

There are a few important things to take note of here:

  • Omitted from the previous two charts are "Soundtrack" and "Various Artists," each of which surpassed the other entrants by a wide margin
  • The tallies do not discern studio albums (the ones that are actually comprised of newly-created content) from compilations, re-releases, singles, live albums and other releases


Top Catalog Albums Analysis

First, I think it is worthwhile to define what exactly qualifies as a catalog album. Per Billboard's website:

"Top Catalog Albums ranks the most popular albums across all genres that are at least 18-months old and have fallen below no. 100 on the Billboard 200"

Clearly there is some inter-relatedness between entrants on the Top Catalog Albums and Top 200 charts, but I will address that in detail later. I'll show the top albums on the Catalog chart like I did with the Top 200.



Bob Marley sure is making his presence felt! His Legend: The Best Of album is the best performing album in the (relatively short) history of the Catalog Albums chart, no matter how you slice it.

Examining the Inter-Connectedness of the Two Charts

  • 2,020 of the 2,368 Catalog Albums Also Appeared on Top 200 (85.3%)
  • Of the 348 that did not:
    • 20 reached number one on the Catalog chart
    • 18 have been on the Catalog chart for 52 weeks or more
    • 67 first appeared on the Catalog chart after Jan 1, 2010

About Author


Max Schoenfeld

Max is a data scientist pursuing opportunities to use his machine learning expertise in a market-oriented setting such as sports gambling, finance, or general business analysis. He has business experience providing investment professionals with data solutions and recommendations.
View all posts by Max Schoenfeld >

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 airbnb Alex Baransky alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus API Application artist aws 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 Bundles California Cancer Research capstone Career Career Day citibike clustering Coding Course Demo Course Report D3.js data Data Analyst data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization Deep Learning Demo Day Discount dplyr employer networking feature engineering Finance Financial Data Science Flask gbm Get Hired ggplot2 googleVis Hadoop higgs boson Hiring hiring partner events Hiring Partners Industry Experts Instructor Blog Instructor Interview Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter lasso regression Lead Data Scienctist Lead Data Scientist leaflet linear regression Logistic Regression machine learning Maps matplotlib Medical Research Meet the team meetup Networking neural network Neural networks New Courses nlp NYC NYC Data Science nyc data science academy NYC Open Data NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time Portfolio Development prediction Prework Programming PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R 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 Selenium sentiment analysis Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau team TensorFlow Testimonial tf-idf Top Data Science Bootcamp twitter visualization web scraping Weekend Course What to expect word cloud word2vec XGBoost yelp