rtweet (version 0.6.0)

lists_users: Get all lists a specified user subscribes to, including their own.

Description

Get all lists a specified user subscribes to, including their own.

Usage

lists_users(user, reverse = FALSE, token = NULL, parse = TRUE)

Arguments

user

The ID of the user or screen name for whom to return results. Helpful for disambiguating when a valid user ID is also a valid screen name.

reverse

optional Set this to true if you would like owned lists to be returned first. See description above for information on how this parameter works.

token

OAuth token. By default 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).

parse

Logical indicating whether to convert the response object into an R list. Defaults to TRUE.

Value

data

See Also

Other lists: lists_members, lists_statuses, lists_subscribers

Examples

Run this code
# NOT RUN {
## get lists subsribed to by Nate Silver
lists_users("NateSilver538")

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab