Acquisition and visualization of tweets.
President Trump’s most commonly used words, in his 500 most recent tweets
And his most common hashtags
Well that’s interesting but what words frequently coocur?
And a slightly trimmed network:
And what is going on over time? Here’s an interactive time series documenting Trump’s tweets and tweet metrics, from December 2017 to March 2018 here
And a time series from March 2018 through May here
To get an idea of what trump topics about, here is the t-SNE plot of an LDA topic model. Each point is a tweet. Hover your mouse over each point to read the text of the tweet. The legend shows the words that best represent each topic cluster.
However, since this is a relatively small data set, the LDA algorithm does not do a super great job of clustering tweets, and there are definitely some tweets that do not really belong in the cluster they have been grouped in. I’ll include another plot that does not include any tweets with a low probability of being in any given cluser, sometime. See the plot here
Words most representative of each topic
And word networks for a few of the topics
Russia topic:
great, today, whitehouse topic
fake news topic
trade and china topic:
Change of a few interesting words over time. Compare to plot below.
Time series of the topics trump is tweeting about