Description Usage Arguments Value Examples
Get the mentions from a vector of tweets, together with summaries about the usage of those mentions; frequency, occurrences, percentages, and more
1 |
x |
a vector of tweets |
a list of data frames about the hash tags
mentions
: a matrix of all mentions used, each row corresponding to a
tweet.
top_mentions
: a data.frame of the top mentions, showing the frequency
of usage, and sorted in descending order.
mention_count
: a data.frame with one column, where each row shows the
number of mentions used in the corresponding tweet.
mention_freq
: a data.frame showing the number of tweets where one mention
was used, where two mentions were used, etc
mention_summary
: a summary data.frame shwoing the number of tweets,
total mention count, unique mentions, and mentions per tweet
1 2 3 4 | tweets <- c("this is my first #tweet with #two hashtags and one @mention",
"my second tweet has no hashtags and no mentions",
"my third #tweet #has #the most hashtags and @mentions @mention")
twtr_get_mentions(tweets)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.