search_users(q, n = 20, parse = TRUE, clean_tweets = FALSE, as_double = FALSE, token = NULL, verbose = TRUE)
parse = TRUE
saves users from the time
[and frustrations] associated with disentangling the Twitter
API return objects.token = NULL
fetches a
non-exhausted token from an environment variable. Find instructions
on how to create tokens and setup an environment variable in the
tokens vignette (in r, send ?tokens
to console).Other users: lookup_users
,
users_data
## Not run:
# # search for 1000 tweets mentioning Hillary Clinton
# pc <- search_users(q = "political communication", n = 1000)
#
# # data frame where each observation (row) is a different user
# pc
#
# # tweets data also retrieved. can access it via tweets_data()
# users_data(hrc)
# ## End(Not run)
Run the code above in your browser using DataLab