<commit_before>var twitter = require('ntwitter');
var credentials = require('./credentials.js');

var t = new twitter({
    consumer_key: credentials.consumer_key,
    consumer_secret: credentials.consumer_secret,
    access_token_key: credentials.access_token_key,
    access_token_secret: credentials.access_token_secret
});

t.search('#sod13', {'page':'22'}, function(err, data) {
  console.dir(data);
});<commit_msg>updating crontrack.js with mongo structure<commit_after>var twitter = require('ntwitter');
var mongoose = require('mongoose');
var credentials = require('./credentials.js');

var twschema = new mongoose.Schema({
    tw_id : String,
    tw_text : String,
    tw_userid : String,
    tw_name : String,
    in_reply_to_status_id : String,
    in_reply_to_screen_name : String,
    tw_truncated : Boolean
  });

var t = new twitter({
    consumer_key: credentials.consumer_key,
    consumer_secret: credentials.consumer_secret,
    access_token_key: credentials.access_token_key,
    access_token_secret: credentials.access_token_secret
});

t.search('#sod13', {'page':'22'}, function(err, data) {
  console.dir(data);
});
{'fraction_non_alphanumeric': 0.12917398945518455, 'fraction_numerical': 0.007029876977152899, 'mean_word_length': 5.224043715846994, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5354757', 'n_tokens_mistral': 370, 'n_tokens_neox': 357, 'n_words': 71}