GithubHelp home page GithubHelp logo

muskanmahajan37 / mapd-qlik-extension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from heavyai/mapd-qlik-extension

0.0 0.0 0.0 151 KB

MapD Vega Rendering Extension for Qlik

JavaScript 98.82% CSS 0.47% HTML 0.71%

mapd-qlik-extension's Introduction

MapD Qlik Extension

Qlik Image Example

Requirements

  • npm@5 or higher
  • node 8.9.4 or higher

Quick Start

npm install

Change src/constants/connection.js to specify connection to MapD server.

Change desktop path in deployment.config.json to point to your Qlik extensions path.

eg:

  "desktop": {
    "destination": "C:\Users\[user]\AppData\Local\Qlik\Sense\Extensions\"
  }
npm run watch-webpack-deploy-desktop

It will build the extension in the appropriate path and you should have access to MapD-Qlik within Qlik Sense.

Vega Specification Examples

To see vega sepcification examples to use in Qlik, check out http://vega-demo.mapd.com. You can use the examples listed on that site as a base to build your vega specification. To make sure the the filters in Qlik are being added to the MapD SQL Statement. Add the $qlikFilters variable to vega spec in the data[sql] statement.

eg:

{
  "width": $width,
  "height": $height,
  "data": [
    {
      "name": "fec_contributions_oct",
      "sql": "SELECT conv_4326_900913_x(lon) as x, conv_4326_900913_y(lat) as y, recipient_party as dim0, amount as val, rowid FROM fec_contributions_oct WHERE conv_4326_900913_x(lon) between $minXBounds and $maxXBounds and conv_4326_900913_y(lat) between $minYBounds and $maxYBounds $qlikFilters LIMIT 2000000"
    }
  ],
  "scales": ...
  "marks": ...
  ]
}

Testing

npm run test

mapd-qlik-extension's People

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.