Skip to content

Instantly share code, notes, and snippets.

@ziitmy
ziitmy / admin-data.js
Created May 2, 2020 19:57
This file would essentially read data from a csv file obtained from kaggle admin data and would give the required admin data output
var admin = require("firebase-admin");
var geohash = require('ngeohash');
var simplify = require('simplify-js');
const geoarea = require('geo-area')
const fetch = require("node-fetch");
const fs = require("fs");
const csv = require("csv-parser");
const geolib = require("geolib");
results = []
geohashIndividualArray = []