common_follower_matrix: Twitter matrix of follower connection Code modded from boB...

common_follower_matrixR Documentation

Twitter matrix of follower connection Code modded from boB Rudis' 21 Recipes for Mining Twitter with Rtweet https://rud.is/books/21-recipes/visualizing-intersecting-follower-sets-with-upsetr.html

Description

This function creates a matrix of followers of a list of twitter users, sums the number of common followers, and then ranks them in descending order.

Usage

common_follower_matrix(user_list, follower_depth = 200, token = NULL)

Arguments

user_list

A list of user_names

follower_depth

The number of most recent followers to include. Defaults to 200

token

A twitter oauth token. Default is NULL and will use token in Environment

Examples

users <- c("POTUS", "jack", "elonmusk")
common_follower_matrix(user_list = users, follower_depth = 300, token = NULL)

Arf9999/rtweetXtras documentation built on June 27, 2022, 5:10 a.m.