Description Usage Arguments Value Examples
Twitter API endpoints that return tweets also return data about the users who
tweeted, and most endpoints that return users also return their last tweet.
Showing these additional columns would clutter the default display, so
rtweet instead stores in special attributes and allows you to retrieve them
with the user_data()
and tweets_data()
helpers.
1 2 3 | users_data(tweets)
tweets_data(users)
|
tweets |
A data frame of tweets. |
users |
A data frame of users. |
user_data()
returns a data frame of users; tweets_data()
returns a data frame of tweets.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# find users from tweets
tweets <- search_tweets("r")
users_data(tweets)
# from tweets from users
users <- search_users("r")
tweets_data(users)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.