开始使用免费开始使用

转推次数

转推可以利用已有内容来为您的品牌积累粉丝。

一条推文被转推的次数可以反映当下的趋势。您可以借助热门转推来推广品牌,从而放大影响力。

在本练习中,您将找出关于 "Artificial Intelligence" 的推文中被转推次数最多的那些。

使用 search_tweets() 提取的关于 "Artificial Intelligence" 的推文已保存为 tweets_ai

rtweetdplyr 库以及数据集 tweets_ai 都已预加载。

本练习是课程的一部分

用 R 分析社交媒体数据

查看课程

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Create a data frame of tweet text and retweet count
rtwt <- tweets_ai[,c("___", "___")]
head(rtwt)

# Sort data frame based on descending order of retweet counts
rtwt_sort <- arrange(rtwt, desc(___))
编辑并运行代码