users_data: users_data

Description Usage Arguments Value See Also Examples

View source: R/extractors.R

Description

Returns users data frame from returned tweets data object.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

## End(Not run)

rtweet documentation built on May 30, 2017, 4:37 a.m.