startStreaming: Start streaming

Description Usage Arguments Value Examples

Description

Start the streaming process for the filterstream in a seperate R process. The timeout also defines the maximum waiting time between executing stopStreaming and the end of the streaming process If no query_url is supplied then the topHashtags from the users hometimeline are used.

Usage

1
startStreaming(timeout = 60, query_url)

Arguments

timeout

period of time after which the stream ist stopped and restarted with a updated list of search parameters

query_url

set a specific URL to query the API

Value

list of hashtags

Examples

1
2
#startStreaming(320)
#startStreaming(60,"https://stream.twitter.com/1.1/statuses/filter.json?track=Trump")

ProjectTw/TwitteR2Mongo documentation built on May 8, 2019, 3:44 a.m.