R: Extracts tweets data from users data object.

tweets_data {rtweet} | R Documentation

## Extracts tweets data from users data object.

### Description

Extracts tweets data from users data object.

### Usage

    tweets_data(users)

### Arguments

`users` | Parsed data object of users data as returned via `search_users`, `lookup_users`, etc.

### Value

Tweets data frame.

### See Also

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()`

### Examples

    ## 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))

    ## End(Not run)

[Package rtweet version 0.7.0 Index]