Social Media Research

02 R Data Analysis


Question

How to search for tweets by hashtag?


Answer

rt <- search_tweets (q ="#rstats", n = 3000, include_rts= FALSE)

q = name of the hashtag

n = max. number of tweets in your search

include_rts = include retweets TRUE or FALSE




Comments