DataGraph Community
  • Articles
  • Forums
  • News
  • Home

Community Forums

Forums/Product Development/Bug reports/json

json

json
  • 2 years, 10 months ago richard
    Participant

    I tested the json implementation in the beta. Following the example on your website (worldbank data) works fine. However, streaming data from

    https://opendata.ecdc.europa.eu/covid19/casedistribution/json/

    does not work, even though the data is already in the json format. No response when clicking “check response”.

    Downloading the json file and using it “from disk” allows to read the data in the “definitions” block and see the data clicking “set converter…”, but it is not appended in the table. Thus, I can’t use the data.

    I know it is just a beta feature at the moment, but maybe the info here helps to improve this interesting feature.

    2 years, 10 months ago dgteam
    Moderator

    Thanks for reporting!

    This looks like a good use case for this functionality.  It is odd that the check response it not showing anything.  We will see what’s going on.

    2 years, 9 months ago dgteam
    Moderator

    The latest Beta should work with this JSON call.  I tested it out and here is file using only the JSON call and plotting the data.

    COVID-JSON

    It would be great if you could try it out again and see if it works now.

    For anyone interested, the JSON call allows you to have the data refreshed every time you open the file, or click the refresh button on the object.  The data is not saved in the file at all.

    If you want a saved version of the data, you will need to make a copy (For example, use Edit/Copy as Text) to have the data itself saved in the file.

    This is only in the beta for now but anyone with a licenses can download and use the beta version.

    2 years, 9 months ago richard
    Participant

    It works like a charm! Thank you.

    Now I tried a different repository:

    https://covidtracking.com/api/v1/states/daily.json

    where the json file is nested (or more nested). The data received from the server gives an array of dictionaries and not a dictionary of arrays (as in case of ECDC data). This array of dictionaries or nested json file does not work. I guess the json object in dgraph needs an option to flatten a json table.

    2 years, 9 months ago dgteam
    Moderator

    Thanks again for testing this out!

    That format is actually fine — in fact the program was correctly importing the data if you copy and pasted the JSON data.  We found the bug that was the problem in the group link and this has been corrected.

    Download the latest beta to get this fix!

    https://www.visualdatatools.com/DataGraph/Versions/Beta/

     

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

How to join the community

  • Create your account
  • Edit your Profile
  • Insert images into the forum
  • Forum Notifications
Log In

Search Forums

Recent Topics

  • Multiple mask criteria on columns (or equivalent) by richard brown
    18 hours, 42 minutes ago
  • Panning tool by mr j shawash
    1 day, 15 hours ago
  • Rotating Command Labels by matheus esteves
    2 weeks ago
  • turn off autosave? by _leemiller
    2 weeks, 2 days ago
  • Problem with decimal separator on MacOS in France by ckress
    5 days, 20 hours ago

Our Software

  • DataGraph
  • DataTank
  • ImageTank – New!
  • Create your account
Log In
© Visual Data Tools, Inc.  •  Privacy