scatter_ts_interactive: Interactive timeline visualisation for rtweet dataset using...

View source: R/tl_viz.R

scatter_ts_interactiveR Documentation

Interactive timeline visualisation for rtweet dataset using Apache echarts

Description

Interactive timeline of tweets indicating time of tweet, author, type (tweet, retweet, quote, reply), and rate of tweets (posts per second) - posts per second is calculated as moving average over 10 tweets. Posts per second are calculated separately for content tweets (tweets, quotes and replies) and copy tweets (retweets)

Usage

scatter_ts_interactive(df, title = "", print_immediately = TRUE)

Arguments

df

Required. A dataframe or tibble created with rtweet

title

Chart title (in quotes)

print_immediately

Force the function to print the plot immediately. Default is TRUE, set to FALSE to assign the object (an HTML widget)

Examples

df1 <- rtweet::searchtweets("micky mouse", n= 100)
scatter_ts_interactive (df1, title = "100 Micky Mouse tweets")

Arf9999/rtweetXtras documentation built on June 27, 2022, 5:10 a.m.