Description Usage Arguments Value See Also Examples
Converts Twitter stream data (JSON file) into parsed data frame.
1 | parse_stream(path, ...)
|
path |
Character, name of JSON file with data collected by
|
... |
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()
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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 data frame
rt <- parse_stream("theaanand.json")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.