tsentiment is a sentiment analysis package created with R programming language. Just a Twitter account will be required to use this tool. For sentiment analysis, tsentiment scans the keyword you want to search for, and presents two visual results to the user as a result of the process.
> install.packages("tsentiment")
> library("tsentiment")
> setAccount(list(
BEARER_TOKEN = "Your-User-Token",
query = "Your-Keyword"
))
// Note : after use setAccount required give permission for writing result files.
> getAnalysis()
Its simple !
After complete analysis check your Documents and you will see results directory. All succesful results saving this location.
IMPORTANT NOTE : The previous analysis file are deleted before each new analysis file is created.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.