I have a list of roughly 160,000 unique Twitter users, gathered using NodeXL. This data is currently in Excel format, but can easily be moved over to R.
I want to know whether each of these 160,000 Twitter users follows A) just @BernieSanders, B) just @DonaldTrump, C), both @BernieSanders and @DonaldTrump, or D) neither @BernieSanders nor @DonaldTrump.
I know of 2 basic ways to complete this task: 1) access all of Bernie Sanders' and Donald Trump's followers, and then cross reference those lists with my list of 160,000 Twitter users, OR 2) access which accounts all 160,000 Twitter users are following, and check for instances of @BernieSanders and/or @DonaldTrump.
The problem is, both of these methods are very computationally intensive, considering my sample size and the massive number of followers that each politician has.
Just to clarify--I do not currently have any data on who follows these politicians, or who these 160,000 Twitter users are following.
How can I complete this task without frying my computer? Any/all suggestions/recommendations are welcome! Solutions that utilize R are especially welcome, since I am familiar with that language.
UPDATE: My data-at the current time-simply looks like this:
User
brittbrittr32
drugsrebadmkay
alleyahhb
charles_preset
lilsaint___west
sarkassum
johnlockesknife
ohmsbeliver
wtvvrkay
hdyorker
ackmanscam
lacecierraa
_mikyy_
thevoyles
debrasmith37
craftyliberal
msftteee
julia_maries
coriana_hunt
me0w24
maria_lupinacci
bayrleu
rockythegrea9t9
wesfreedomlover
ronwilreagan
bombasticviwe
mimi38760907
pinkcloud15
andrew_whitebm
piperdewn
patsteinwand
tomjon12
solo_mariajose
nomineetrump
rghbfoxchase
marksoria
col_nj
cutnwood
So, it's just a long list of Twitter account names. No information on followership, whatsoever.