lookup_statuses

0th

Percentile

lookup_tweets

Returns Twitter user data_frame object for specified user_ids or screen_names.

Usage
lookup_statuses(statuses, token = NULL, parse = TRUE)
Arguments
statuses

User id or screen name of target user.

token

OAuth token (1.0 or 2.0). By default token = NULL fetches a non-exhausted token from an environment variable @describeIn tokens.

parse

Logical, indicating whether or not to parse return object into data frame(s)

Value

json response object (max is 18000 per token)

See Also

https://dev.twitter.com/overview/documentation

Other tweets: get_favorites, get_timeline, search_tweets, stream_tweets, tweets_data

Aliases
  • lookup_statuses
Examples
# NOT RUN {
# lookup vector of 1 or more user_id or screen_name
statuses <- c("potus", "hillaryclinton", "realdonaldtrump",
  "fivethirtyeight", "cnn", "espn", "twitter")

twt_df <- lookup_statuses(statuses)
twt_df

# view tweet data for these statuses via tweets_data()
tweets_data(twt_df)
# }
# NOT RUN {
# }
Documentation reproduced from package rtweet, version 0.3.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.