ABSTRACT

This work is an application of tweets analytics using the R programming language [1] and its interface Rstudio. In this work, we have used many packages such as “twitteR,” “tm,” and “wordcloud.” Two political figures – the US President Donald Trump and the Canadian Prime Minister Justin Trudeau – were chosen because they are among the most influential leaders in the last four years. This research aims to reach a big collection of tweets that talk about each one. After that, data obtained through different steps are revised. Finally, we created a cloud of words (which is a visual representation of words in which the size is proportional to the frequency of that word in a given text) for each one and analyzed them.