Description Usage Arguments Value Examples
View source: R/get_top_coord_urls.R
A function to get the top n URLs shared in a coordinated way
1 | get_top_coord_urls(output, order_by = "engagement", top = 10)
|
output |
the output list resulting from the function get_coord_shares |
order_by |
name of the column used to order the top news. Default to "engagement". Other possible values are: "statistics.actual.likeCount", "statistics.actual.shareCount", "statistics.actual.commentCount", "statistics.actual.loveCount", "statistics.actual.wowCount", "statistics.actual.hahaCount", "statistics.actual.sadCount","statistics.actual.angryCount" |
top |
number of the top URLs to be retrieved |
A data frame (grouped_df) containing the top imageText shared in a coordinated way by the highly coordinated entities, with shares and engagement statistics, list of entities and components that shared the link
1 2 3 4 5 | # get the top ten URLs shared in a coordinated way by each network component, by engagement
df <- get_top_coord_urls(output, order_by = "engagement", top=10)
# get the top ten URLs shared in a coordinated way, by engagement
df <- get_top_news(output, order_by = "engagement", top=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.