Code Monkey home page Code Monkey logo

excel_airtable_plugin's Introduction

Excel Airtable Plugin

This is a custom script and will not work unless your file matches the fields in the code.

Quick Start

  • To update Trainee && Managers tables
    • Prod: npm run prod <relative location of New Hire Excel Sheet>
  • To update Test Trainee && Test Managers tables
    • Dev With Your Data: npm run dev <relative location of New Hire Excel Sheet>
    • Dev With Sample Data: npm run dev

Purpose:

A simple tools that:

  1. Consumes the New Hire Excel sheet from T-Mobile (loadFile())
  2. Filters the list by title (filterByTitle())
  3. Finds and adds any managers that isn't already in the Managers table (processNewManagers())
  4. Compares and removes any duplicate entries based on existing Airtable data (checkForDuplicates())
  5. In trainee data, exchanges manager.name for manager.id (replaceManagers())
  6. Uploads new trainees to the Trainees table (updateAirtable())

How to use:

  1. Download the repository

Production

  1. Run npm run prod <relative file location>
    • For example, if you place the Excel sheet (new_hire_data_2022.xlsx) in the root of this project, your command would be npm start new_hire_data_2022.xlsx.

Development

  1. Run npm run dev
    • If you use this command alone it will use /sample_data/test-data.xlsx, but you can also run npm run dev <relative file location> if you'd like to use your own sample data.
    • Regardless of the file it's pointed at this command will point the tool to Test Managers && Test Trainees

excel_airtable_plugin's People

Contributors

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