НачатьНачать бесплатно

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.

Это упражнение является частью курса

Analyzing Social Media Data in R

Посмотреть курс

Инструкции к упражнению

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

Интерактивное практическое упражнение

Попробуйте выполнить это упражнение, дополнив этот пример кода.

# 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
Редактировать и запускать код