streamR
streamR copied to clipboard
Filtered stream closes before getting as many tweets as specified, and not possible to reconnect
I'm using the version on CRAN.
First time I ran
filterStream( file.name="jeremy_corbyn.json",
track='"jeremy corbyn"', tweets=10, oauth=my_oauth )
tweets.df <- parseTweets("jeremy_corbyn.json")
the stream closed after 62 seconds and downloaded only 2 tweets even though I specified 10.
On subsequent times I've tried to connect, it disconnects after 1 second and adds "Exceeded connection limit for user" to jeremy_corbyn.json
[edit]
I restarted my computer. Now when I run the above, I get
Warning message:
In readLines(tweets, encoding = "UTF-8") :
incomplete final line found on 'jeremy_corbyn.json'