Git Product home page Git Product logo

elite-libs / dataanalyzer.app Goto Github PK

View Code? Open in Web Editor NEW
28.0 1.0 4.0 7.76 MB

โœจ๐Ÿš€ DataAnalyzer.app - Convert JSON/CSV to Typed Data Interfaces - Automatically!

Home Page: https://DataAnalyzer.app

HTML 0.85% JavaScript 3.07% TypeScript 90.51% CSS 0.11% SCSS 5.46%
auto-typed schema generator analyzer type-inference code-generation schema-generator data-insights json csv

dataanalyzer.app's People

Contributors

dependabot[bot] avatar justsml avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dataanalyzer.app's Issues

Make 'renamed field mode' include transformer/re-mapping code or summary

The simplified naming mode may need better runtime support for transforming object shapes (in and out of the local system.)

Options from least effort:

  1. Add inline comments w/ field's original name.
  2. Leave up to each Adapter, possibly with a renderTransforms(fieldNameMappings) interface.
  3. Change Naming options to be simpler (like don't prefix subtypes or use custom prefix.)

Add Data Stats Panel

Provide a high-level stats table on the input data & how it was ultimately processed.

Stat Value
Top Rows 120
Nested Rows 280
Types 8
Enums N/A (adjust threshold)
Consolidated Types? 2 (learn more)

Add Prisma Adapter

Opportunity: add DataAnalyzer to the Prisma docs.

Example models

model Post {
  id        Int     @id @default(autoincrement())
  title     String
  content   String?
  published Boolean @default(false)
  author    User?   @relation(fields:  [authorId], references: [id])
  authorId  Int?
}

model User {
  id    Int     @id @default(autoincrement())
  email String  @unique
  name  String?
  posts Post[]
}

Add Sequelize Adapter

Reference Info

Model Definition

const { Sequelize, Model, DataTypes } = require("sequelize");
const sequelize = new Sequelize("sqlite::memory:");

const User = sequelize.define("user", {
  name: DataTypes.TEXT,
  favoriteColor: {
    type: DataTypes.TEXT,
    defaultValue: 'green'
  },
  age: DataTypes.INTEGER,
  cash: DataTypes.INTEGER
});

Relationships

Foo.hasOne(Bar, {
  foreignKey: {
    // name: 'myFooId'
    type: DataTypes.UUID
  }
});
Bar.belongsTo(Foo);

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.