View source: R/setup-functions.R
process_tweets | R Documentation |
Calculate additional information using status metadata
process_tweets(df)
df |
A dataframe of statuses and full metadata from the Twitter API as
returned by |
A dataframe with several additional columns: mentions_count, hashtags_count, urls_count, tweet_type, is_self_reply
example_url <- "18clYlQeJOc6W5QRuSlJ6_v3snqKJImFhU42bRkM_OX8"
tags_content <- read_tags(example_url)
if (rtweet::auth_has_default()) {
tweets_data <- lookup_many_tweets(tags_content)
tweets_processed <- process_tweets(tweets_data)
tweets_processed
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.