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

StreamR with mongoDB #3

Open SONEINT opened 10 years ago

SONEINT commented 10 years ago

Hi Pablo,

This is Cyrille, alias @Soc_Net_Intel on Twitter, from France. Dad of 3, working, and coming back to university to get a PhD... Trying to in reality !

I need your help on your StreamR repository with MongoDB which I think could be an alternative solution for me.

I have worked during a few months with a JAVA code on IDE to stream Twitter towards a MongoDB database. I was using rmongodb package to extract then the tweets from the mongodb collections. My main problem was that my JAVA code, based on Twitter4j library, was not complete, and thus the data from Twitter where had never been complete.

Since I have discovered R, especially for data analytics and machine learning, I would like to explore this possibility based on your StreamR with mongoDB repository.

I have tested your filterStream( ) function, adding format.twitter.date ( ) function inside, but I have some problems:

I have may be made a mistake or something wrong with MongoDB, which was working well with my JAVA code. Maybe you could help me to solve this.

Cyrille.