Extracts tweets data from users data object.
tweets_data(users)
Parsed data object of users data as returned via
search_users
, lookup_users
, etc.
Tweets data frame.
Other tweets: get_favorites
,
get_mentions
,
get_my_timeline
,
get_timeline
, lists_statuses
,
lookup_statuses
,
search_tweets
,
tweets_with_users
Other extractors: next_cursor
,
users_data
# NOT RUN {
## get twitter user data
jack <- lookup_users("jack")
## get data on most recent tweet from user(s)
tweets_data(jack)
## search for 100 tweets containing the letter r
r <- search_tweets("r")
## print tweets data (only first 10 rows are shown)
head(r, 10)
## preview users data
head(users_data(r))
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab