R studio - R language

Job ID: 31821686

Budget: $30 – $250 AUD

17. Obtain a 1.5-degree egocentric graph centred around the chosen Twitter handle. The vertex size of each vertex should be proportional to each user's statusesCount (do not forget to add the statuses count of the chosen Twitter handle to this list in this step). Note that you should check whether these 21 people are following each other to create a degree 1.5 egocentric graph.
Hint: You may prefer to use the lookup_friendships() function from the rtweet library.
18. Compute the centrality of each vertex using betweenness centrality. List the top 3 most central people in your graph.