Scrape rtweettree dataframes from rtweet status_id

rtweettree_data(x, ...)

# S3 method for character
rtweettree_data(x, new_tls = TRUE, ...)

# S3 method for rtweettree_data
rtweettree_data(x, ...)

Arguments

x

rtweet status_id

...

for the moment not used

new_tls

logical whether to use the new method or the old one to scrape the timelines of users in the tree; defaults to TRUE.

Value

object of class rtweettree_data: a list containing the objects df_main_status, df_tree, df_tls, df_favs & df_retweets (see `vignette("visualize_tree", package = "rtweettree")`)

Methods (by class)

  • character: Scrape the rtweettree data from a Twitter status id.

  • rtweettree_data: Return rtweettree_data object as is.

Examples

if (FALSE) { rtweettree_data_scraped <- rtweettree_data("1438481824922181635") rtweettree_data_scraped }