
Last chance! 50% off unlimited learning
Sale ends in
Converts Twitter stream data (JSON file) into parsed data frame.
parse_stream(path, ...)
Character, name of JSON file with data collected by
stream_tweets
.
Other arguments passed on to internal data_from_stream function.
A tbl of tweets data with attribute of users data
Other stream tweets: stream_tweets
# NOT RUN {
## run and save stream to JSON file
stream_tweets(
"the,a,an,and", timeout = 60,
file_name = "theaanand.json",
parse = FALSE
)
## parse stream file into tibble data frame
rt <- parse_stream("theaanand.json")
# }
Run the code above in your browser using DataLab