parse_stream | R Documentation |
Converts Twitter stream data (JSON file) into parsed data frame.
parse_stream(path, filtered = F)
path |
Character, name of JSON file with data collected by [stream_tweets()]. |
filtered |
logical, indicating whether the stream to parse is filtered or not. Defaults to FALSE. This will add the filter rule variables to the data |
a data frame
## Not run:
stream_tweets(timeout = 1, file_name = "stream.json", parse = FALSE)
parse_stream("stream.json")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.