rtweet (version 0.6.0)

tweets_with_users: Parsing data into tweets/users data tibbles

Description

Parsing data into tweets/users data tibbles

Usage

tweets_with_users(x)

users_with_tweets(x)

Arguments

x

Unparsed data returned by rtweet API request.

Value

A tweets/users tibble (data frame) with users/tweets tibble attribute.

See Also

Other parsing: do_call_rbind

Other tweets: get_favorites, get_mentions, get_timeline, lists_statuses, lookup_statuses, search_tweets, tweets_data

Other parsing: do_call_rbind

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

Examples

Run this code
# NOT RUN {
## search with parse = FALSE
rt <- search_tweets("rstats", n = 500, parse = FALSE)

## parse to tweets data tibble with users data attribute object
tweets_with_users(rt)

## search with parse = FALSE
usr <- search_users("rstats", n = 300, parse = FALSE)

## parse to users data tibble with users data attribute object
users_with_tweets(usr)

# }

Run the code above in your browser using DataCamp Workspace