Description Usage Arguments Details Value
View source: R/rtweet_extensions.R
Given a vector of file paths, function returns a (row-stacked) data frame object of the contained tweets data
1 2 3 | read_tweets_data(paths, fields = tw_status_cols(status.location = FALSE,
user.bio = FALSE, user.engagements = FALSE, user.profile = FALSE,
user.misc = FALSE), read.fun = readRDS)
|
paths |
character vector specifiying the paths to twitter data files |
fields |
names of columns (fields) to be extracted and row-binded in output data frame |
read.fun |
reader function (needs to be compatible with formats of files passed to |
The files to be read need to be tweet data frame as returned by rtweet
's lookup_statuses.
The file format needs to be readable by the reader function passed to parameter read.fun
.
A tibble data frame with columns as specified by argument fields
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.