Skip to content

Latest commit

 

History

History
32 lines (32 loc) · 1.76 KB

README.md

File metadata and controls

32 lines (32 loc) · 1.76 KB

HACS408V Project #3: Tweet Analysis w/ Twitter API

twaces is a project for HACS408V, a data visualization course at the University of Maryland, College Park (UMD). This course is also part of the Advanced Cybersecurity Experience for Students (ACES) Minor program. In this project, I will utilize Twitter's API to analyze tweets referencing either UMD or ACES. From this data I will attempt to create visualizations for the following:

  • A spatial graph that displays where UMD/ACES is mentioned most around the world
  • Sentiment analysis on tweets that mention UMD/ACES that will reveal overall public opinions
  • Social graphs of the most popular users that tweet about UMD/ACES
  • Potentially more!

Presentation

Setup

  • Create Twitter developer account
  • Create new project and get API key
  • Install Tweepy

Data collection

  • Create multiple complex search queries for both ACES and UMD
  • Create scripts to run initial queries for last 30 days worth of data
  • Export data to JSON files

Spatial Analysis

  • Extract tweets with location data
  • Create a world with pins for each tweet

Sentiment Analysis

  • Extract positive and negative tweets
  • Create bar chart comparing quantities

Social Analysis

  • Extract all users from tweets
  • Plot users with highest # of followers
  • Pull tweets with highest favorites & retweets

Credits