tweets_with_users: Parsing data into tweets/users data data.frames

Description Usage Arguments Value See Also Examples

View source: R/tweets_and_users.R

Description

Parsing data into tweets/users data data.frames

Usage

1
2
3

Arguments

x

Unparsed data returned by rtweet API request.

Value

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

See Also

Other parsing: do_call_rbind()

Other tweets: get_favorites(), 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
## search with parse = FALSE
rt <- search_tweets("rstats", n = 500, parse = FALSE)

## parse to tweets data data.frame 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 data.frame with users data attribute object
users_with_tweets(usr)


## End(Not run)

mkearney/rtw documentation built on Dec. 21, 2021, 7:05 p.m.