| lookup_collections {rtweet} | R Documentation |
Return data for specified collection (themed grouping of Twitter statuses). Response data varies significantly compared to most other users and tweets data objects returned in this package.
lookup_collections(id, n = 200, parse = TRUE, token = NULL, ...)
id |
required. The identifier of the Collection to return results for e.g., "custom-539487832448843776" |
n |
Specifies the maximum number of results to include in the response. Specify count between 1 and 200. |
parse |
Logical indicating whether to convert response object into nested list. Defaults to true. |
token |
Every user should have their own Oauth (Twitter API) token. By
default |
... |
Other arguments passed along to composed request query. |
Return object converted to nested list if parsed otherwise an HTTP response object is returned.
## Not run:
## lookup a specific collection
cc <- lookup_collections("custom-539487832448843776")
## inspect data
str(cc)
## End(Not run)