Skip to content

Get a Twitter user's follower data using R package rtweet

Notifications You must be signed in to change notification settings

soitknows/getFollowers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

getFollowers

getFollowers.R is an R script that can be used to gather all Twitter followers for a specified user. As the script runs each resulting data frame of 75,000 follower ids is saved as an R object in an "output" directory. When the script completes a final data frame containing all follower ids is also saved in the "output" directory.

For users with a large number of followers it's generally best to fork the Rscript execution, as there is a 15 minute gap between each 75,000 users gathered (Twiiter API rate limit).

Example Usage

$ Rscript getFollowers.R realDonaldTrump

Example Output

$ f1.Rdata f2.Rdata f3.Rdata followers.Rdata

About

Get a Twitter user's follower data using R package rtweet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages