Coder Social home page Coder Social logo

election_day_2016_twitter's Introduction

Tweets Election Day 2016

This repo contains data on 6,546,824 election day tweets. However, to make the data compliant with Twitter's terms of service, the public data only contains tweet IDs.

To convert the list of tweet IDs into a full dataset, run retrieve_tweets.ipynb using your own Twitter API keys.

Run commands

  1. python miner.py cra_twitter_miner_0 'full_data/hillary' hillary
  2. python miner.py cra_twitter_miner_1 'full_data/trump' trump
  3. python miner.py cra_twitter_miner_2 'full_data/yourefired' #yourefired
  4. python miner.py cra_twitter_miner_3 'full_data/election' election
  5. python miner.py cra_twitter_miner_4 'full_data/election2016' #election2016
  6. python miner.py cra_twitter_miner_5 'full_data/electionday' #electionday
  7. python miner.py cra_twitter_miner_6 'full_data/uselections2016' #uselections2016
  8. python miner.py cra_twitter_miner_7 'full_data/gop' gop
  9. python miner.py cra_twitter_miner_8 'full_data/democrat' democrat
  10. python miner.py cra_twitter_miner_9 'full_data/voted' #ivoted vote voted
  11. python miner.py cra_twitter_miner_10 'full_data/congress' #senate
  12. python miner.py cra_twitter_miner_11 'full_data/uselection' #uselection
  13. python miner.py cra_twitter_miner_12 'full_data/house' #house
  14. python miner.py cra_twitter_miner_13 'full_data/congress' congress
  15. python miner.py cra_twitter_miner_14 'full_data/madampresident' #madampresident

election_day_2016_twitter's People

Contributors

chrisalbon avatar

Watchers

 avatar  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.