parse_stream

0th

Percentile

Converts Twitter stream data (JSON file) into parsed data frame.

Converts Twitter stream data (JSON file) into parsed data frame.

Usage
parse_stream(path, ...)
Arguments
path

Character, name of JSON file with data collected by stream_tweets.

...

Other arguments passed on to internal data_from_stream function.

Value

A tbl of tweets data with attribute of users data

See Also

Other stream tweets: stream_tweets

Aliases
  • parse_stream
Examples
# 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")
# }
Documentation reproduced from package rtweet, version 0.6.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.