Giter VIP home page Giter VIP logo

final-project's Introduction

Trump's Twitter Tussle

Project Overview

The strong personalities of Hillary Clinton and Donald Trump caused a lot of stir on social media, especially Twitter, so we decided to analyze certain aspects of their own tweets, as well as tweets directed towards them. Using data collected from various Twitter .csv files, we used a Shiny app as the method to display our analyses. Our target audiences are the general public, specifically individuals interested in politics, as well as election forecasters, since they would have a heightened interest in different methods to predict election outcomes. We hope our data provides insight to our audiences about how Twitter data can explain certain election trends.

A note about this version of our project: We have ommited the Word Analysis portion due to memory constraints with Shiny Apps. The code can still be viewed in the ui.R and server.R files -- though it is commented out. When uncommented, both files should run fine locally, so feel free to play around and check that out!

Project Breakdown

Our project is broken up into four parts, with one additional bonus part.

  1. Popularity of Tweets: This section compares the favorites and retweets of each candidate's tweets between January and September 2016.

  2. Word Analysis: This section focuses on Donald Trump's tweets, specifically looking at his word choice, and the frequency of his most common words.

  3. Map of Tweets about Candidates: This section analyzes the number of tweets mentioning either Donald Trump or Hillary Clinton per state in the United States on the day May 10, 2016.

  4. Tweets Polarity: This section examines the polarity of tweets mentioning either Donald Trump, Hillary Clinton, or Bernie Sanders, with polarity being given a rating between -1 (strong negativity) and 1 (strong positivity). The tweets were scraped from May 10, 2016.

  5. Bonus - #MAGA vs #WomensMarch: This bonus section compares samples of tweets containing the hashtag #MAGA versus tweets containing the hashtag #WomensMarch immediately following Donald Trump's presidential inauguration. This section also generates random images from the Women's March.

final-project's People

Contributors

aneeshananda avatar megan-vo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.