draw_url_timeline_chart: draw_url_timeline_chart

View source: R/draw_url_timeline_chart.R

draw_url_timeline_chartR Documentation

draw_url_timeline_chart

Description

Given an id from 1 to 10, this function draws an interactive timeline depicting how a link was shared on Facebook by coordinated and non coordinated shares

Usage

draw_url_timeline_chart(output, top_coord_urls = NULL, top_url_id = 1)

Arguments

output

the output list resulting by the get_coord_shares function

top_coord_urls

the output of get_top_coord_urls. If NULL a new top_url is created (default=NULL)

top_url_id

a number indicating which url to use to draw the chart

Value

A data frame (grouped_df) containing the posts with the highest engagement shared in a coordinated way by the highly coordinated entities, with a set of attributes

Examples

  # get the top ten posts containing URLs shared by each network component and by engagement
  df <- get_top_news(output, order_by = "engagement", top=10)

  # get the top ten posts containing URLs shared in a coordinated way, by engagement
  df <- get_top_news(output, order_by = "engagement", top=10)


fabiogiglietto/CooRnet documentation built on Aug. 15, 2024, 7:16 p.m.