This repository contains an R script as well as an interactive Jupyter notebook to demonstrate how to automatically collect, format, and explore YouTube comments, including the emojis they contain. The script and notebook showcase the following steps:
- Getting access to the YouTube API
- Extracting comments for a video
- Formatting the comments & extracting emojis
- Basic sentiment analysis for text & emojis
If you use the materials from this repo for your own research, please cite it as:
Kohne, J., Breuer, J., & Mohseni, M. R. (2018). Automatic Sampling and Analysis of YouTube Comments. doi:10.17605/OSF.IO/HQSXE
To start the interactive notebook in your browser, just click the following button: