This is a nice example of using R for text mining of twitter feeds - and the author gives lots of links and hints on how you could do something similar.
David Robinson. Trump’s Android and iPhone tweets - one year later. Variance Explained blog - August 9 - 2017. Available at http://varianceexplained.org/r/trump-followup/.