Code Monkey home page Code Monkey logo

small-data's Introduction

Small Data Solution

An Example: BI for OpenLMIS

Start the cluster in a docker console with docker-compose installed:

cd openlmis-bi
docker-compose up

Load OpenLMIS sample data in another docker console:

cd openlmis-bi
./init-db.sh

Now an interactive Web-based BI system should be running at http://localhost:8000/cubesviewer/. Login credentials are admin/mysecretpassword.

Once logged in, you can click "Add view from JSON" link on the left side, copy & paste following JSON in the popup dialog:

{
    "cubename": "requisition_line_items",
    "name": "ABC Stock In Hand",
    "mode": "chart",
    "drilldown": ["products:products"],
    "cuts": [{
        "dimension": "products",
        "value": "MMIA,08S01;MMIA,08S01B;MMIA,08S01ZZ"
    },{
        "dimension": "facilities",
        "value": "1;7;10"
    }],
    "datefilters": [],
    "rangefilters": [],
    "xaxis": "facilities",
    "yaxis": "stockinhand_sum",
    "charttype": "bars-vertical",
    "columnHide": {},
    "columnWidths": {},
    "columnSort": {}
}

Hit "OK", then you should see the following chart:

small-data's People

Contributors

gigix avatar

Watchers

James Cloos avatar

small-data's Issues

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.