SDMX Users Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: JavaScript SDMX client demo  (Read 40875 times)

JamesGardner

  • Newbie
  • *
  • Posts: 26
    • View Profile
JavaScript SDMX client demo
« on: June 19, 2016, 06:53:31 AM »

Hi!
I am in the process of porting my java SDMX parser over to JavaScript.. here is a little demo using the OECD service and pure javascript;
http://rawgit.com/kalessine/sdmx-js/master/public_html/test.html
Thanks
 James Gardner
Logged

JamesGardner

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: JavaScript SDMX client demo
« Reply #1 on: February 24, 2017, 11:05:17 PM »

I would just like to mention that the sdmx-js javascript sdmx client, now supports a lot more providers, and shows data in a pivot table (pivotUI.js)
Logged

JamesGardner

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: JavaScript SDMX client demo
« Reply #2 on: May 04, 2018, 09:20:58 AM »

Just Testing :P

        <div id="render"></div><br/>
        <script src="http://cdn.rawgit.com/kalessine/sdmx-orb/875764f2/public_html/js/sdmx.js"></script>
        <script>
            window.onload = function () {
              sdmx.embed({"dataservice":"ABS", "dataflowAgency":"ABS", "dataflowId":"ABS_OAD_COUNTRY", "dataflowVersion":"1.0", "dataflowName":"Visitor arrivals and resident returns by country", "dataflowNameLang":"en", "structureAgency":"ABS", "structureId":"ABS_OAD_COUNTRY", "structureVersion":"1.0", "dimensions":{"CAT_TRAVELLER":{"concept":"CAT_TRAVELLER", "typeid":14}, "COUNTRY":{"concept":"COUNTRY", "typeid":10, "typename":"BoundToDropdown", "clientSide":false, "flat":true, "perCentOfId":null}, "TSEST":{"concept":"TSEST", "typeid":10, "typename":"BoundToDropdown", "clientSide":false, "flat":true, "perCentOfId":null}, "FREQUENCY":{"concept":"FREQUENCY", "typeid":10, "typename":"BoundToDropdown", "clientSide":false, "flat":true, "perCentOfId":null}}, "time":{"concept":"TIME", "typeid":18, "typename":"BoundToTimeX", "lastTime":0, "singleLatestTime":false, "chooseTime":true, "start":957458376155, "end":1462379976155}, "values":{"OBS_VALUE":{"concept":"OBS_VALUE", "typeid":2}}, "adapter":{"typeid":1001, "name":"RechartsSeriesSparkline"}});
            };
        </script>
Logged