mattijn
5/10/2020 - 8:23 PM

Vega test

Vega test

{
  "$schema": "https://vega.github.io/schema/vega/v5.json",
  "data": [
    {
      "name": "SOURCE",
      "url": {"signal": "SOURCE_url"},
      "format": {"property": "nested", "type": "json"},
      "transform": [
        {"type": "flatten", "fields": ["foo", "bar"], "as": ["foo", "bar"]}
      ]
    }
  ],
  "signals": [
    {
      "name": "SOURCE_url",
      "value": "https://tsws.hkvservices.nl/mangrove.ws/data.ashx?function=dataportal.db.getdata&parameters={database:%27vega%27,key:%27nested_data%27}&contentType=application/json"
    }
  ]  
}
{
  "$schema": "https://vega.github.io/schema/vega/v5.json",
  "data": [
    {
      "name": "SOURCE",
      "url": {"signal": "SOURCE_url"},
      "format": {"property": "nested", "type": "json"},
      "transform": [
        {"type": "flatten", "fields": ["foo", "bar"], "as": ["foo", "bar"]}
      ]
    }
  ],
  "signals": [
    {
      "name": "SOURCE_url",
      "value": "https://tsws.hkvservices.nl/mangrove.ws/data.ashx?function=dataportal.db.getdata&parameters={database:%27vega%27,key:%27nested_data%27}&contentType=application/json"
    }
  ]  
}
{
  "data": [
    {
      "name": "SOURCE",
      "url": "https://tsws.hkvservices.nl/mangrove.ws/data.ashx?function=dataportal.db.getdata&parameters={database:%27vega%27,key:%27nested_data%27}&contentType=application/json",
      "format": {"property": "nested"},
      "transform": [
        {"type": "flatten", "fields": ["foo", "bar"], "as": ["foo", "bar"]}
      ]
    }
  ]
}
{
  "data": [
    {
      "name": "SOURCE",
      "url": "https://tsws.hkvservices.nl/mangrove.ws/data.ashx?function=dataportal.db.getdata&parameters={database:%27vega%27,key:%27nested_data%27}&contentType=application/json",
      "format": {"property": "nested"},
      "transform": [
        {"type": "flatten", "fields": ["foo", "bar"], "as": ["foo", "bar"]}
      ]
    }
  ]
}