leolanzinger / twitterusaelectionpredictor

USA 2016 Elections Tweets Sentiment Analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

twitterusaelectionpredictor

USA 2016 Election Twitter Predictor

Tweets with hashtags #trump and #hillary are collected in realtime and processed with semantic analyzer (positive, neutral, negative sentiment).

Instructions:
  1. Go to dev.twitter.com and create an app
  2. Get twitter credentials and paste them in the 'twit_auth.js' file
  3. run "npm install"
  4. run "node server.js"

Currently, dots are mapped randomly on the screen but if anyone is interested in mapping them to a location and visualizing that we will gladly accept the pull request.

Want to learn more about the project? Click here.

Screenshot 2023-02-20 at 14 37 31

About

USA 2016 Elections Tweets Sentiment Analysis

License:MIT License


Languages

Language:JavaScript 74.9%Language:HTML 25.1%