我試圖從twitter數據中獲取像@someone @somebody這樣的twitter數據提及,並使用推特和他們提到的人的信息創建新的數據框。 例子: tweets <- data.frame(user=c("people","person","ghost"),text = c("Hey, check this out
@somebody @someone","love this @john
是否可以使用twitteR軟件包轉發狀態(或者只是一般的R)? 例如,如果我輸入一串鳴叫,我想轉推其中的一個: library(twitteR)
# load ROAuth handshake (authorization to interact with Twitter) and check if connection to twitter is established
load(file