Learn R Programming

rtweet (version 0.4.0)

users_data: users_data

Description

Returns users data frame from returned tweets data object.

Usage

users_data(tweets)

Arguments

tweets

Data frame of Twitter statuses (tweets) generated via get_timeline, search_tweets, or stream_tweets.

Value

Users data frame from tweets returned in a tweets data object.

See Also

Other users: lookup_users, search_users

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