/geocodecsv

Module for Node.js that takes in a CSV text file, and geocodes each row

Primary LanguageJavaScriptMIT LicenseMIT

geocodecsv

Module for Node.js that takes in a CSV text file, and geocodes each row

var geocodeCSV = require('./app/data/geocode');

opts = {
  addressStringAccessor: creatorFunction,
  interval: 1200,
  test: true
}

function creatorFunction(rowData) {
  return rowData.address + ", " + rowData.city + " " + rowData.state;
}

geocodeCSV('./app/data/cost.txt', './app/data/costgeocoded.txt', opts);