I am using rtweet package by Michael W. Kearney and trying to get the followers list of multiple users. So far it works beautifully if I wish to scrap the followers of one user at a time irrespective of the number of followers he/she may have.
But for my project, I have to scrap 155 profiles therefore, I was wondering if there is a function or way that would allow me to write one command for all the users? So far, when I try to use more than one user, I get the error saying I can use only one user at a time.
EDIT: Two important pieces of info - the desired output is a dataset of 155 columns of each users' followers, which I can export/write as csv or use as a dataframe. Lastly, while suggesting any solution, do keep in mind that if I would use any function of apply
family I would end up with list (as per suggested answer of Amar) but then the problem is converting the list in to data.frame and since the columns would be unequal in length I am unable to use as.data.frame()
function.
Any ideas or way around? Thanks in advance.