Skip to content

Instantly share code, notes, and snippets.

@mozkurt27
Last active June 16, 2016 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mozkurt27/3f8a4a7b47a042ace094e490831a2411 to your computer and use it in GitHub Desktop.
Save mozkurt27/3f8a4a7b47a042ace094e490831a2411 to your computer and use it in GitHub Desktop.
write_db = function(err, db){
for(i=0; i<mydata.length; i++){
collections.insert({
Name: mydata[i].user.name,
Tweets: mydata[i].text,
Date: mydata[i].created_at,
Location: mydata[i].user.location
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment