Learn R Programming

rtweet (version 0.4.0)

tweets_data: tweets_data

Description

Tweets data frame from users returned in a users data object. Typically, this involves the most recent tweet of each user, though in some cases the most recent tweet may not be available.

Usage

tweets_data(users)

Arguments

users

Data frame of Twitter users generated via lookup_users or search_users.

Value

Tweets data frame.

See Also

Other tweets: get_favorites, get_timeline, lookup_statuses, search_tweets, stream_tweets

Examples

Run this code
# NOT RUN {
# search for 100 tweets containing the letter r
r <- search_tweets("r")

# print tweets data (only first 10 rows are shown)
r

# extract users data
users_data(r)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab