common_follower_analysis: Twitter visualization of common followers

common_follower_analysisR Documentation

Twitter visualization of common followers

Description

This function creates an UpSetR graph of common followers Code cribbed from Bob Rudis' 21 Recipes for Mining Twitter with Rtweet https://rud.is/books/21-recipes/visualizing-intersecting-follower-sets-with-upsetr.html

Usage

common_follower_analysis(
  user_list,
  follower_depth = 200,
  no_of_sets = 7,
  token = NULL
)

Arguments

user_list

A list of user_names

follower_depth

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

no_of_sets

<- The number of sets in the UpSetR graph. Defaults to 7.

token

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

Examples

users <- c("POTUS", "jack", "elonmusk")
common_follower_analysis(user_list = users, follower_depth = 300, no_of_sets = 7)

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