This is an expansion to an analysis I will write on machine learning and senators tweets. I have linked the Github page where the code for this specific code is, in case you would like to do it yourself or walk through the code.

To scrape the tweets from the senators, I used this list from the 115th congress. I then created a python script that would go through and verify that each twitter handle was correct by…