users_data: Extracts users data from tweets data object.

Description Usage Arguments Value See Also Examples

View source: R/extractors.R

Description

Extracts users data from tweets data object.

Usage

1
users_data(tweets)

Arguments

tweets

Parsed data object of tweets data as returned via get_timeline, search_tweets, stream_tweets, etc..

Value

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

See Also

Other users: as_screenname, lists_subscribers, lookup_users, search_users, tweets_with_users

Other extractors: next_cursor, tweets_data

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 

## search for 100 tweets containing the letter r
r <- search_tweets("r")

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

## extract users data
head(users_data(r))


## End(Not run)

rtweet documentation built on Nov. 17, 2017, 5:54 a.m.