Git Product home page Git Product logo

csvimportertogooglesheets's Introduction

CSVImporterToGoogleSheets

Context: Data analysts around the world 🌍, handle massive amounts of data to derive meaningful insights for their organization πŸ“Š. Among the tools they use, Google Sheets πŸ“ˆ stands out due to its ease of use, accessibility, and collaborative features. However, many analysts have identified a recurring pain point: the cumbersome process of importing CSV files into Google Sheets repeatedly.

A typical week of an analyst in an e-commerce company πŸ›’ involves receiving multiple CSV files πŸ“ containing sales, inventory, customer feedback, and more. The data from these files needs to be meticulously analyzed and presented in the company’s weekly meetings. However, instead of diving directly into analysis, most analysts need to spend an inordinate amount of time just importing and structuring these CSV files into Google Sheets ⏳. This repetitive, time-consuming task reduces the efficiency of these professionals and delays the extraction of crucial insights 😫.

So, I've made a CSV Importer for Google Sheets that lets users drag and drop CSV files onto the Google Sheet. The moment they drop the CSV file, they can select which columns to import πŸ—‚οΈ.

Features:

  • Importing to Sheet – After validation and mapping, data will be populated to chosen google sheets, either appending to existing data or creating a new sheet πŸ“₯πŸ“‹.
  • Optimization for Large Files – Large datasets are common in analytics. This solution will effectively handle large CSV files (~15MB CSV file) without causing performance issues or prolonged waiting times πŸ“ˆπŸ“¦.

Things to be done before running this all-new Jugaad app:

  1. Go to https://console.cloud.google.com/welcome
  2. Create a new project
  3. Select "APIs & Services" > "Library" from the left-hand sidebar. In the "Library" page, use the search bar to search for "Google Sheets API" and enable it
  4. Go to the credentials section and click on Create credentials.
  5. Click on Service Accounts and configure it. After it is done, you will get a mail and the creds.json file downloaded.(Store that creds.json file πŸ˜‹, it is very very very very much needed)

Your spreadsheet pre-works(bear with this please, this is a one-time work 🀨):

  1. Go to the spreadsheet where you are working.
  2. Click on Share and paste the service email in "Add people or groups" section and give it editor access(uncheck notify people), so that the sheets can be mainpulated.
  3. TadaaaaaπŸ₯³ all the preworks are done!!

How to run:

  1. Firstly, download all the code files and open it in a Node.js Environment (just do npm install and refer google for the setup)
  2. Now, go to the index2.js file, there you will find creds.json file path, replace it with your creds.json path.
  3. Open terminal and type nodemon index2.js
  4. There you gooooooπŸ₯³, jugaad web app

image1

  1. Now drag your .csv file, give your spreadsheetID, range , select the columns which you have to import AND BOOOOOOOOM,

image2

  1. Your spreadsheet will be filled with dataaaaaa😎😎😎
  2. Guess what, this app is very much efficient as it can handle ~15MB csv files as well πŸ’ͺ.

csvimportertogooglesheets's People

Contributors

harsha-7975 avatar

Stargazers

SARAVANAN C 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.