Compare follower count
The follower count for a twitter account indicates the popularity of the personality or a business entity and is a measure of influence in social media.
Knowing the follower counts helps digital marketers strategically position ads on popular twitter accounts for increased visibility.
In this exercise, you will extract user data and compare followers count for twitter accounts of four popular news sites: CNN, Fox News, NBC News, and New York Times.
Este exercício faz parte do curso
Analyzing Social Media Data in R
Instruções do exercício
- Extract user data for twitter accounts of the 4 news sites.
- Create a data frame of screen names and follower counts for the sites.
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Extract user data for the twitter accounts of 4 news sites
users <- ___("nytimes", "CNN", "FoxNews", "NBCNews")
# Create a data frame of screen names and follower counts
user_df <- users[,c("___","___")]
# Display and compare the follower counts for the 4 news sites
user_df