Coursera MOOC Provider Web Scraping Catalog

Posted on Aug 12, 2019

Project GitHub | LinkedIn:   Niki   Moritz   Hao-Wei   Matthew   Oren

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

Introduction

Coursera is the world's biggest MOOC (Massive Online Open Course) provider with 37 million registered students spread over 4,000 courses. Founded by computer science professors, Andrew Ng and Daphne Koller from Stanford University, Coursera offers a chance for anyone with an internet connection to learn at their own pace.  

Research Questions:

I wanted to explore and better understand the online course marketplace through the simple question: what makes a student choose a particular course? 

To dive deeper, I asked three specific questions of my data:

  1. Do users choose courses based on the university / company / partner that provides the content?
    • Is name recognition and prestige a primary consideration in enrolling for a course? 
  2. Do ratings matter? Are the highest rated courses the most enrolled in?
  3. Does the career growth of others drive enrollment in a particular course? 
    • Coursera displays a metric for career benefit based on past surveys for each course.
Partner vs Enrollment- can see Stanford University occupies the highest enrollment numbers. Will have to be weighted against course offerings and length of offering for more clarity.

Method:

Web Scraping Technique

To get the data on each course, I created 2 spiders in Scrapy; one to go through the course catalog and one to explore the course sitemap (an afterthought when I found the course catalog limited the number of courses displayed to only 1000). 

For each course I looked at the following primary attributes for my analysis:

  • Name of Course
  • Partner
  • Rating
  • Number of Reviews / Ratings
  • Career Benefit Percentages
  • Total Enrollment (response variable)

Data Cleaning

By grabbing data from courses by section, I had to do a substantial amount of data cleaning to get the information into a workable form. One of my main challenges was handling multiple different features combined into a single column (ex. "Difficulty Level," "Language," "Approx. hours to complete" all in the same cell). I addressed this by using regular expressions to filter through and categorize specific results into new columns and performing a gather and spread operation to capture certain categorical variables. 

Box plot consolidating courses by rating and measuring them against their total enrollment. There does not appear to be a significant increase in enrollment due to higher ratings though this would have to be weighed against the number of courses offered to better substantiate this argument.

Conclusions:

Ratings: Do ratings matter for enrollment? At a very preliminary level, it does not appear ratings have much influence on course enrollment. All courses seem to have had an average rating of 3.0 or higher and the spread of enrollment did not seem predisposed toward the highest ratings. Without accounting for number of courses in each category however, this could simply be a result of most courses being within a certain spread of reviews. 

Partner: Does the brand name of the course creator matter? It does appear certain universities (some unexpected ones) have a large segment of the overall user base of Coursera. Besides some Ivy League schools like Stanford University (popular, in part, due to their length of time one the site and number of offerings), it is interesting to note that universities from outside the United States break into the top 10, suggesting the website use is not limited to US students. 

Career Benefit: Looking at courses that reported career benefits (3 kinds) and comparing them all with enrollment seemed to show no substantial increase in course signup over differing proportions of career benefit. This is interesting because it appears Coursera uses this as a method to entice enrollment. The effect it has, I would assume, is that it encourages enrollment without comparison of the actual percentage number. Put another way, the idea of a career benefit is more useful than the percentage of people who claimed it was. 

Future Direction:

With more time, I would like to go deeper into my analysis of these multiple attributes (ex. Approx length of course in hours) and better account for multiple factors that would affect my current data to get more solidly built conclusions. Ultimately, it may be an interesting practice project to train a machine learning model to predict a course's enrollment based on existing data. Web scraping other MOOC providers would also give me a bigger picture overview of the online course landscape in general. 

About Author

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