Description Usage Arguments Value Examples
Find collections (themed grouping of statuses) created by specific user or status id. Results include user, status, and collection features.
1 2 3 4 5 6 7 8 |
user |
Screen name or user id of target user. Requests must provide a value for one of user or status_id. |
status_id |
Optional, the identifier of the tweet for which to return results. Requests must provide a value for one of user or status_id. |
n |
Maximum number of results to return. Defaults to 200. |
cursor |
Page identifier of results to retrieve. If parse = TRUE,
the next cursor value for any given request–if available–is stored
as an attribute, accessible via |
parse |
Logical indicating whether to convert response object into nested list. Defaults to true. |
token |
a twitter token. |
Return object converted to nested list if parsed otherwise an HTTP response object is returned.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
## lookup a specific collection
cnnc <- get_collections("cnn")
## inspect data
str(cnnc)
## by status id
wwe <- get_collections(status_id = "925172982313570306")
## inspect data
str(wwe)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.