View source: R/do_call_rbind.R
do_call_rbind | R Documentation |
Row bind lists of tweets/users data whilst also preserving and binding users/tweets attribute data.
do_call_rbind(x)
x |
List of parsed tweets data or users data, each of which presumably contains an attribute of the other (i.e., users data contains tweets attribute; tweets data contains users attribute). |
A single merged (by row) data frame (tbl) of tweets or
users data that also contains as an attribute a merged (by row)
data frame (tbl) of its counterpart, making it accessible via the
users_data()
or tweets_data()
extractor
functions.
if (auth_has_default()) { ## lapply through three different search queries lrt <- lapply( c("rstats OR tidyverse", "data science", "python"), search_tweets, n = 100 ) ## convert list object into single parsed data rame rt <- do_call_rbind(lrt) ## preview tweets data rt ## preview users data users_data(rt) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.