0

The following solution: Getting followers of multiple Twitter Users via rtweet

provides just a tibble with the id of followers. I'd like the count of followers for each ID.

List of followers example

In this case I have a list consisting of thousands followers, coming from a

get_followers(name)

I'd like a new column that counts the followers of each ID, so each element of the first column

For example this site: https://followerwonk.com/analyze

allows to get a breakdown of followers count by follower of a specific user

1 Answers1

1

Solution found using a different library (library(twitteR)): https://www.r-bloggers.com/2017/06/characterizing-twitter-followers-with-tidytext/

followers_df %>%
  ggplot(aes(x = log2(followersCount))) +
    geom_density(color = palette_light()[1], fill = palette_light()[1], alpha = 0.8) +
    theme_tq() +
    labs(x = "log2 of number of followers",
         y = "density")