Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 667 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 667 Bytes

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