Skip to content

SimPPL/SocialMediaAnalysis

 
 

Repository files navigation

Social Media Analysis

This is a set of notebooks that will teach you the basics of pulling in news data and analysing sentiment from tweets using language models specialized for the task. Please follow the installation instructions in each notebook to ensure you can run these scripts out of the box.

Twitter Developer Account

In order to collect the data, you will need to provide a set of API keys and access tokens from your own Twitter Developer Account.

Extending this Tutorial

Contributions are very welcome for expanding on this tutorial. Please see the example code for the Twitter API v2 to learn more about the available endpoint.

Source

This codebase is adapted from a set of scripts for data collection, preprocessing, and sentiment analysis for our research in the paper "Analyzing Responses to Political News Articles on Social Media" by William Opich and Swapneel Mehta.

About

codebase for social media research seminar: twitter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 79.3%
  • Python 20.7%