This script geocodes a CSV file and converts the result to JSON.
View the documentation at my learnings repo.
$ npm test
$ sh curl2csv.sh
Eventually you'll need to modify the Spreadsheet key and CSV file name to which to write in curl2csv.sh
.
Install the Geocoder package via $ npm install
and run
node geocode.js < file.csv >! file.json
, where file.csv
is the input file and file.json
is the output file.