Skip to content

chrisalbon/election_day_2016_twitter

Repository files navigation

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

About

Tweets from election day 2016

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published