rtweettree_data: Scrape rtweettree dataframes from rtweet status_id

Description Usage Arguments Value Methods (by class) Examples

View source: R/rtweettree_data.R

Description

Scrape rtweettree dataframes from rtweet status_id

Usage

1
2
3
4
5
6
7
rtweettree_data(x, ...)

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

## S3 method for class '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)

Examples

1
2
3
4
5
## Not run: 
rtweettree_data_scraped <- rtweettree_data("1438481824922181635")
rtweettree_data_scraped

## End(Not run)

urswilke/rtweettree documentation built on Oct. 14, 2021, 6:32 p.m.