Skip to content
Materials for the 2020 GESIS workshop "Automatic Sampling and Analysis of YouTube Comments"
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Workshop "Automatic Sampling and Analysis of YouTube Comments", GESIS 2020

Materials for the 2020 GESIS workshop "Automatic Sampling and Analysis of YouTube Comments"

Johannes Breuer (, @MattEagle09); Julian Kohne (, @JuuuuKoooo); M. Rohangis Mohseni (, @romohseni)

Please link to the workshop GitHub repository

Workshop description

YouTube is the largest and most popular video platform on the internet. The producers and users of YouTube content generate huge amounts of data. These data are also of interest to researchers (in the social sciences as well as other disciplines) for studying different aspects of online media use and communication. Accessing and working with these data, however, can be challenging. In this workshop, we will first discuss the potential of YouTube data for research in the social sciences, and then introduce participants to different tools and methods for sampling and analyzing data from YouTube. We will then demonstrate and compare several tools for collecting YouTube data. Our focus for the main part of the workshop will be on using the tuber package for R to collect data via the YouTube API and wrangling and analyzing the data in R (using various packages). Regarding the type of data, we will focus on user comments but also will also (briefly) look into other YouTube data, such as video statistics and subtitles. For the comments, we will show how to clean/process them in R, how to deal with emojis, and how to do some basic forms of automated text analysis (e.g., word frequencies, sentiment analysis). While we believe that YouTube data has great potential for research in the social sciences (and other disciplines), we will also discuss the unique challenges and limitations of using this data.

You can’t perform that action at this time.