RでTwitter

準備

library(twitteR)

#FIRST.TIME=TRUE
FIRST.TIME=FALSE

if( FIRST.TIME ){
    consumerKey <- ""
    consumerSecret <- ""
    accessToken <- ""
    accessSecret <- ""
    
    options(httr_oauth_cache = TRUE)
    setup_twitter_oauth(consumerKey, consumerSecret, accessToken, accessSecret)
    #userTimeline(user="akira4110",n=10)
}

print(searchTwitter("熊本",locale="ja",since='2016-04-18',until='2016-04-19'))

形態素解析

メモ

  • バイグラム -> ネットワークプロット p68

参考資料