users_data function

Get tweets from users, or users from tweets

Get tweets from users, or users from tweets

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 show them with the user_data() and tweets_data() helpers.

users_data(tweets) tweets_data(users)

Arguments

  • tweets: A data frame of tweets.
  • users: A data frame of users.

Returns

user_data() returns a data frame of users; tweets_data()

returns a data frame of tweets.

  • Maintainer: Lluís Revilla Sancho
  • License: MIT + file LICENSE
  • Last published: 2024-02-24