{"size": 586, "ext": "js", "max_stars_repo_path": "src/Features.js", "max_stars_repo_name": "mareuter/lct-react", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/Features.js", "max_issues_repo_name": "mareuter/lct-react", "max_issues_repo_issues_event_min_datetime": "2019-07-13T01:57:51.000Z", "max_issues_repo_issues_event_max_datetime": "2021-10-31T01:34:43.000Z", "max_forks_repo_path": "src/Features.js", "max_forks_repo_name": "mareuter/lct-react", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 12, "max_forks_count": null, "avg_line_length": 22.5384615385, "max_line_length": 47, "alphanum_fraction": 0.5631399317}
export const createFeatureArray = features => {
  var featureArray = [];
  var key = 0;
  for (var index in features) {
    featureArray.push({
      name: features[index][0],
      latitude: features[index][2],
      longitude: features[index][3],
      type: features[index][6],
      diameter: features[index][1],
      quadCode: features[index][7],
      quadName: features[index][8],
      key: key
    });
    key = key + 1;
  }
  featureArray.sort((a, b) => {
    if (a.latitude > b.latitude) {
      return -1;
    } else {
      return 1;
    }
  });
  return featureArray;
};
