ComenzarEmpieza gratis

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 ejercicio forma parte del curso

Analyzing Social Media Data in R

Ver curso

Instrucciones del ejercicio

  • Extract user data for twitter accounts of the 4 news sites.
  • Create a data frame of screen names and follower counts for the sites.

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# 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
Editar y ejecutar código