nc_get_friends | R Documentation |
Fetches the friends of each of the users contained in the users vector. Returns the friend relationships via a tibble edge list.
nc_get_friends( users, cache_name, n = 5000, retryonratelimit = TRUE, cursor = "-1", verbose = TRUE, token = NULL )
users |
Screen name or user ID of target user from which the user IDs of friends (accounts followed BY target user) will be retrieved. |
cache_name |
The name of the cache to save data in. |
n |
Desired number of results to return. Results are downloaded
in pages when The Twitter API rate limits the number of requests you can perform
in each 15 minute period. The easiest way to download more than that is
to use You are not guaranteed to get exactly |
retryonratelimit |
If If you expect a query to take hours or days to perform, you should not
rely soley on |
cursor |
Which page of results to return. The default will return the first page; you can supply the result from a previous call to continue pagination from where it left off. |
verbose |
Show progress bars and other messages indicating current progress? |
token |
Expert use only. Use this to override authentication for
a single API call. In most cases you are better off changing the
default for all calls. See |
A tibble where each row corresponds to a follower relationship from the user in the 'from' column to the user in to 'to' column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.