Coder Social home page Coder Social logo

josecervino / csv-lead-list-separator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 15 KB

Takes in a CSV file, separates & filters values per contact type, then outputs separate lists to new CSV files

License: Creative Commons Zero v1.0 Universal

JavaScript 100.00%

csv-lead-list-separator's Introduction

Instructions On How To Use

Use this to separate large CSV files containing leads into separate lead lists.

NOTE: The leads in the CSV should have one if not all of the the following column names: phone_number, country, personal_email, email, linkedin_url, organization_twitter_url, organization_facebook_url,

The ouput will be a series of lead lists in the same folder where the index.js is executed in with the following names:

  1. Phone Number: {CSV file name} - phoneNumbers-list
  2. Emails: {CSV file name} - emails-list
  3. LinkedIn: {CSV file name} - linkedIn-list
  4. Facebook: {CSV file name} - facebook-list
  5. Twitter: {CSV file name} - twitter-list

How to run the file:

(1) Edit the location inside the index.js file

Simply replace the example path with the desired CSV's path on your computer:


const csvPath = process.argv[2] || '/Users/x/Downloads/5_15_24 - Ecom Stores & Leaders - Verified Emails & Signals (50k, 1-100 employees) - Original Data.csv'; // Replace what's between the '' here with your desired CSV path location

(2) Supply a file location when running the file

Simply supply the desired CSV's path to the end of the Terminal CLI command:

node index.js /path/to/your/csvfile.csv

csv-lead-list-separator's People

Contributors

josecervino avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.