Data and R code underlying this Jan. 23, 2018 BuzzFeed News article analyzing a year of tweets from President Donald Trump and all members of Congress.
The code to process the data and repeat the analysis can be found online here, and in the R Markdown document index.Rmd.
Email the author Peter Aldhous at peter.aldhous@buzzfeed.com.