Giter Club home page Giter Club logo

whymecsv's Introduction

WhyMeCSV

This script is meant to help clean up CSV files in hopes they are imported without being rejected and too match as many columns to fields in the Real Geeks CRM as possible.

Installation

Download files and run them or just use http://profoundwanderer.pythonanywhere.com

The Github for the web version is here, however, it isn't quite up to date since I work out bugs here then move the code over.

Things It Does

  1. Deletes all empty rows and columns
  2. Attempts to rename columns for quicker matching during the import process
  3. Puts first name as first column followed by last name, and email, and phone column (This is order is needed for merging duplicate emails)
  4. It moves any first name and last names that are longer than 256 characters to a new column (256 is the max character count for these fields in the CRM)
  5. If the email column contains a comma then it spilts on the comma and puts what was split off into the second_contact_email column (It will create this column if it doesn't exist)
  6. Moves any invalid emails to the the second_contact_email column (It will create this column if it doesn't exist)
  7. Searches the rows for duplicate emails and if it finds any then it merges the rows
  8. Moves any invalid phone numbers to the the second_contact_phone column (It will create this column if it doesn't exist)
  9. Cleans up the file the about (e.g. removes extra commas, nan, spaces, etc.)

Contributing

Pull requests are welcome or just let me know any issues or things that may make it better. Planning to combine it with leadalicious in the future.

Please make sure to update tests as appropriate.

License

MIT

whymecsv's People

Contributors

profoundwanderer avatar derrick3 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.