Replication Materials for: Do Politics Stop at the Water’s Edge? Evidence from Twitter Discussions on Afghanistan Withdrawal
This repo contains replication materials for the paper "Do Politics Stop at the Water’s Edge? Evidence from Twitter Discussions on Afghanistan Withdrawal".
You can find the paper in the following link:
https://selimyaman.com/uploads/stm.pdf
The research looks at the Twitter users' variation in ideology and sentiments towards the US withdrawal from Afghanistan.
Methodology
We utilized several methods when doing Tweet analyses. These are:
- Tweet Pull using API V.2
- Location Extraction
- Data Cleaning (Basics)
- Data Cleaning (Bot removals)
- Ideology Estimation
- Sentiment Analysis (VADER)
- Topic Modeling by Ideology (STM)
To replicate the materials, we also provide Tweet IDs. Twitter does not allow raw datasets to be shared publicly. You can use Tweet hydrators to build the dataset again. Replication results will be probably very close to our results, but not the same as some accounts will be deleted/protected after we compiled the dataset.
Notes
This repo is currently un-organized. Upon acceptance, the documents will be re-organized for a smooth replication.