the-pharmacist-delivers
v1.0.7
Published
Transform a csv file of pharmacies to an array of objects
Downloads
7
Maintainers
Readme
The Pharmacist Delivers
This package was created to help convert data containing a list of pharmacies from a spreadsheet (.csv file) into an array of objects. This package will require a valid Google API key with unrestricted access to the Geocoding API. This is used to obtain the pharmacy coordinates (lat/lng).
Spreadsheet csv file should have the following columns:
- Pharmacy Name (string: eg The Pharmacist)
- Address (string: eg 1 LaTrobe Street)
- City (string: eg Melbourne)
- State (string: eg VIC)
- Post Code (number: eg 3000)
- Home Delivery Service Available (string: eg Yes or No)
Installation
npm install -g the-pharmacist-delivers
Usage
the-pharmacist-delivers
Follow the prompts and enter the filename and Google API key.
An output.js file with will be generated with the transformed data.