Coder Social home page Coder Social logo

elssam / tidyblocks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gvwilson/tidyblocks

0.0 1.0 0.0 58.83 MB

A blocks-based interface for tidy data manipulation and analysis.

Home Page: http://tidyblocks.tech

License: Other

HTML 0.05% CSS 0.11% JavaScript 99.84%

tidyblocks's Introduction

TidyBlocks Revisited

Contributions of all kinds are welcome. By offering a contribution, you agree to abide by our Code of Conduct and that your work may be made available under the terms of our license.

  1. To report a bug or request a new feature, please check the list of open issues to see if it's already there, and if not, file as complete a description as you can.

  2. If you have made a fix or improvement, please create a pull request. We will review these as quickly as we can (typically within 2-3 days).

Actions

  • npm run build: regenerate dist/tidyblocks.js, then open index.html to see it.

  • npm run watch: regenerate and reload dist/tidyblocks.js whenever files change.

  • npm run coverage: run tests and report code coverage (open coverage/index.html to see results).

  • npm run data: create loadable JSON file for each CSV file in ./data. (These files must be loaded in ./libs/gui.js to be accessible.)

  • npm run docs: regenerate code documentation (open docs/index.html to view).

  • npm run lint: run code style check.

  • npm run test: run tests without code coverage (which is faster).

Organization

TidyBlocks uses Blockly for the workspace, React for the user interface, and Jekyll + GitHub Pages for the website as a whole.

Source

  • libs/util.js: low-level utilities.

  • libs/dataframe.js: operations on data tables.

  • libs/expr.js, libs/value.js, and libs.op.js: things that can go in table rows. These may be nested (i.e., add(multiply(2, column('red')), column('blue'))

  • libs/summarize.js: summarization operations (such as sum and max).

  • libs/transform.js: operations on entire tables. These use expressions, summarizers, and statistical tests.

  • libs/pipeline.js: pipelines made up of stages.

  • libs/program.js: programs made up of pipelines.

  • libs/persist.js: convert serialized JSON to programs, pipelines, stages, and expressions.

  • libs/env.js: the runtime environment for a program that stores datasets, records error messages, and so on.

  • libs/gui.js : handle interactions with the user.

  • blocks/*.js: implementation of blocks.

    • blocks/blocks.js: block initialization and code generation entry point.
    • blocks/helper.js: utilities.

Other Files

  • index.html: interface page.

  • index.js: gathers blocks for bundling to create tidyblocks.min.js for testing.

  • test/test_*.js: unit tests.

  • static/css/*.css and static/sass/*: CSS for the user interface.

  • _config.yml: Jekyll configuration file.

  • _data/*, _includes/*, and _layouts/*: Jekyll site generation files.

  • coverage/*: code coverage data generated by npm run coverage.

  • data/*: built-in datasets.

  • docs/*: JSDoc code documentation generated by npm run docs.

  • workspaces/*: small programs to load for interactive testing.

  • guide/*: source for user guide (written with Jekyll).

tidyblocks's People

Contributors

gvwilson avatar mayagans avatar just-singh avatar elssam avatar darkmetroid avatar demar01 avatar amrrs avatar

Watchers

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