Twitter_Scraping

  1. credentials.py contains the API key and secret
  2. main.py contains the script for retrieving tweets from a user and/or on a topic
  3. elonmusktweets.py is the script that I used to extract Elon Musk's tweets
  4. datacleaning.py performs basic data cleaning on the data set
  5. sentiment analysis.py contains the script for performing sentiment analysis
  6. sample raw.csv contains the tweets extracted as it is.
  7. sample with usernames, emoji and hyperlink as separate columns.csv contains the data after being cleaned
  8. topic modeling.py is the script for performing topic modeling
  9. sample.csv is the file after sentiment analysis.