I have tried to follow the examples to configure a remote dataset, but having trouble getting the columns to populate with data.
I have the dataset defined and when I click Test data URL I get results
This is the full JSON that is returned. I have tried to define the root as series or data and neither of them work. Ultimately I am interested in getting the data arrays as my 2 columns.
{
“request”: {
“command”: “series”,
“series_id”: “PET.EMD_EPD2D_PTE_NUS_DPG.W”
},
“series”: [
{
“series_id”: “PET.EMD_EPD2D_PTE_NUS_DPG.W”,
“name”: “U.S. No 2 Diesel Retail Prices, Weekly”,
“units”: “Dollars per Gallon”,
“f”: “W”,
“unitsshort”: “$/gal”,
“description”: “U.S. No 2 Diesel Retail Prices”,
“copyright”: “None”,
“source”: “EIA, U.S. Energy Information Administration”,
“iso3166”: “USA”,
“geography”: “USA”,
“start”: “19940321”,
“end”: “20180507”,
“updated”: “2018-05-07T16:43:09-0400”,
“data”: [
[
“20180507”,
3.171
],
[
“20180430”,
3.157
],
[
“20180423”,
3.133
],
[
“20180416”,
3.104
],
[
“20180409”,
3.043
],
[
“20180402”,
3.042
],
[
“20180326”,
3.01
],
[
“20180319”,
2.972
],
[
“20180312”,
2.976
],
[
“20180305”,
2.992
],
],
}
],
}