<commit_before>// GeoJSON Feature Collection
function FeatureCollection() {
  this.type = 'FeatureCollection';
  this.features = new Array();
}

exports.rows_to_geojson = function(rows, propertiesObject) {
  var featureCollection = new FeatureCollection();
  rows.map(function (row){
    var properties = {};
    for (var p in propertiesObject) {
      namePropertie = propertiesObject[p];
      properties[namePropertie] = row[namePropertie];
    }
    featureCollection.features.push({
      type: "Feature",
      geometry: JSON.parse(row.geom),
      properties: properties
    })
  })
  return featureCollection
}<commit_msg>Remove useless code in helpers for geojson<commit_after>// GeoJSON Feature Collection
function FeatureCollection() {
  this.type = 'FeatureCollection';
  this.features = new Array();
}

exports.rows_to_geojson = function(rows, propertiesObject) {
  var featureCollection = new FeatureCollection();
  featureCollection.features = rows.map(function (row){
    var properties = {};
    for (var p in propertiesObject) {
      namePropertie = propertiesObject[p];
      properties[namePropertie] = row[namePropertie];
    }
    return {
      type: "Feature",
      geometry: JSON.parse(row.geom),
      properties: properties
    }
  })

  return featureCollection
}
{'fraction_non_alphanumeric': 0.10982211910286156, 'fraction_numerical': 0.0, 'mean_word_length': 3.8646616541353382, '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': '1955372', 'n_tokens_mistral': 363, 'n_tokens_neox': 357, 'n_words': 87}