The good people at FiveThirtyEight were kind enough to release the tweets and handles of Russian Trolls in the lead-up and following the 2016 election. These data were assembled by Clemson University researchers Darren Linvill, & Patrick Warren. I'll let FiveThirtyEight explain more, here. I'm just exploring the data they released here.
- Run
git clone git@github.com:fivethirtyeight/russian-troll-tweets.gitto get the Russian tweets. - Run
python3 -m venv envto set up your virtual environment. - Run
source env/bin/activateto activate your virtual environment. - Run
pip install -r requirements.txtto install the Python packages you'll need. - Run
npm install -g http-server(you might want to install NVM first).
- Run
jupyter notebookand pull upmodel-topics.ipynb. - Run everything in there.
- Run
cp intermediate-data/english-only-doc2vec-data.json doc2vec-graphics/som-account-type-viz/data/data.json. - Run
http-serverfrom within thedoc2vec-graphics/som-account-type-viz/folder. - Go to
http://localhost:8080.
- Run
deactivate.