Skip to content

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).

Notifications You must be signed in to change notification settings

kouroshezzati/pharmacy-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm NPM

The Pharmacist Delivers

the-pharmacist

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.

About

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).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%