pablobarbera / streamR

Dev version of streamR package: Access to Twitter Streaming API via R
http://cran.r-project.org/web/packages/streamR/
107 stars 47 forks source link

How to not miss any tweets? #16

Open SatoshiReport opened 6 years ago

SatoshiReport commented 6 years ago

Great program, thanks for making it open source. I got everything working just fine.

I used birdy before in Python and it allows you to create a stream that runs forever like so:

response = client.stream.statuses.filter.post(track='twitter')

for data in response.stream():
    print data

Is this possible to do with streamR as well? I can run it a certain length of time and then parse the results but if I run again I could have missed something in the meantime. How do I avoid this? Is this a limitation of R? Thanks