R data mining / text mining, Tweeter API’s: Search & Streaming

R_data_mining: read this directly in my GitHub

In this repository I will commit some functions that I had stored locally and can be handy when performing data analysis with Twitter (for example).

section 1: SEARCH API

Script to connect to Tweeter Search API, retrieve twets and perform some text cleaning / analysis displaying a wordcloud with the words more used in the tweets.

Wordcloud of the example provided, words most used in the tweets in the program “.CAT” of TV3 (Catalan TV 2015-10-29).

alt text

 

section 2: STREAMING API

Script to connect to Tweeter STRAMING API, retrieve tweets and perform an analysis:

  • location from where the tweets where made.
  • wordcloud, words more used in tweets after performing some cleaning
map plot (Catalonia) of the example provided, location of the tweets in the program “.CAT” of TV3 (Catalan TV 2015-10-29).

alt text

map plot (Europe) of the example provided, location of the tweets in the program “.CAT” of TV3 (Catalan TV 2015-10-29).

alt text

Word cloud of words most used using sreaming API in program “.CAT” of TV3 (Catalan TV 2015-10-29).

alt text