<commit_before>/**
 * Created by Joe on 09/04/16.
 */
/// <reference path="../typings/express/express.d.ts"/>
/// <reference path="../typings/request/request.d.ts"/>
"use strict";
var request = require('request');
var options = {
    url: 'https://maps.googleapis.com/maps/api/geocode/json?address=Winnetka&key=<KEY>',
    port: 80,
    method: 'GET'
};
function addressToGeoloc(req, res) {
    request(options, function (error, response, body) {
        if (error) {
            res.sendStatus(500);
        }
        else {
            res.send(body);
        }
    });
    req.on('error', function (e) {
        console.log("problem with request: " + e.message);
    });
}
exports.addressToGeoloc = addressToGeoloc;
//# sourceMappingURL=mapdata.js.map<commit_msg>Update mapdata.js<commit_after>/**
 * Created by Joe on 09/04/16.
 */
/// <reference path="../typings/express/express.d.ts"/>
/// <reference path="../typings/request/request.d.ts"/>
"use strict";
var request = require('request');
var options = {
    url: 'https://maps.googleapis.com/maps/api/geocode/json?address=Winnetka&key=THE_API_KEY',
    port: 80,
    method: 'GET'
};
function addressToGeoloc(req, res) {
    request(options, function (error, response, body) {
        if (error) {
            res.sendStatus(500);
        }
        else {
            res.send(body);
        }
    });
    req.on('error', function (e) {
        console.log("problem with request: " + e.message);
    });
}
exports.addressToGeoloc = addressToGeoloc;
//# sourceMappingURL=mapdata.js.map

{'fraction_non_alphanumeric': 0.17355889724310777, 'fraction_numerical': 0.013784461152882205, 'mean_word_length': 2.405117270788913, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 2, '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': '6587676', 'n_tokens_mistral': 537, 'n_tokens_neox': 533, 'n_words': 92}