keystats: keystats

Description Usage Arguments Details Value Examples

View source: R/keystats.R

Description

keystats() allows for easy Twitter analysis of user-specified Twitter keywords and hashtags. See details for more information.

Usage

1
keystats(key, n = 10000, top_num = 10, graph_col = "dodgerblue3")

Arguments

key

keyword or hashtag that the user wishes to analyze

n

number of tweets to analyze relating to key, maximum tweets to analyze is 18,000, Default: 10000

top_num

number of top words/hashtags/locations displayed in output, Default: 10

graph_col

color of output graphs, Default: 'dodgerblue3'

Details

keystats() allows Twitter users to search the website by keyword or hashtag,returning multiple graphics and statistical summaries such as a bar plot of related unique words, a word cloud, a radar chart, and two bar plots of location statistics.

Value

an HTML output containing summary information and graphics of the specified keyword(s) using input keyword(s). See details for specifics.

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #keystats("data science", n=1000, top_num = 20)
 }

## End(Not run)

nurahjaradat/tweetstats documentation built on Dec. 16, 2019, 10:51 p.m.