Git Product home page Git Product logo

csvtojson-adminsetup's Introduction

CSVToJSON-AdminSetup

Converting CSV files for group and steps into JSON/XML for Admin Setup

Hello everyone, my name is Shlok and I am one of the interns on the Healthcare Cloud team. This python file converts 2 separate CSV files, one for the groups and one for the steps, into JSON and XML Files.

This code isn't finalized as it's missing functionality for the helpUrlLabel attribute and doesn't do any of the validations done within the parser (so if you create a file here it isn't certain that the parser will not throw an error upon reading it).

Steps to use this:

  1. Create CSV files for groups and steps with all of the necessary attributes saved as columns. Missing attributes will cause an error to be thrown so use the files here in the github as a template.
  2. Save the files in the same directory as the Python file
  3. Update the hardcoded values in the python file to what's necessary for your work. 'preexisting', 'featureName', 'json_file_name', 'xml_file_name', and 'configXML' are the currently hard-coded values.
  4. Run all of the cells
  5. Copy outputted JSON and XML file content into your IDE
  6. Rebuild to register XML changes

Next Steps:

  1. Integrate the helpUrlLabel attribute
  2. Create a validation system similar to the parser's to guarantee that the outputted files will not throw errors
  3. Make the process for updating the currently hardcoded values smoother
  4. Create a process for generating java beans for AdminExecute and preValidation steps. Integrate that process within this system.
  5. Group timeToComplete should be the sum of its steps' timeToCompletes

csvtojson-adminsetup's People

Contributors

shloknatarajan avatar

Watchers

 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.