Hi,
Thank you for your reply.
Here is the coding
nodes <- read.csv("ussenators_nodes.csv", header = TRUE, as.is = TRUE)
links <- read.csv("ussenators_edges.csv", header = TRUE, as.is = TRUE)
head(nodes)
head(links)
fulldata <- merge(nodes, links)
install.packages("igraph")
require(igraph)
library(rtweet)
library(tidyverse)
library(UpSetR)
install.packages("UpSetR")
nodes$Twitter_handle
account_name <- nodes$Twitter_handle
followers <- map_df(account_name, ~ get_followers(.x, n = 1000, retryonratelimit = TRUE) %>% mutate(account = .x))
head(followers)
nodes contains the twitter account names of the 45 US senators, Republican or Democrat and gender.
Thank you again