Published
Edited
Aug 25, 2022
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
sdmxjson = sdmxrest.request2(query, "OECD_S").then((r) => r.json())
Insert cell
Insert cell
json = fromSDMX(sdmxjson)
Insert cell
Insert cell
Insert cell
Insert cell
js = JSONstat(json)
Insert cell
Insert cell
js.n
Insert cell
Insert cell
js.length
Insert cell
Insert cell
js.id
Insert cell
Insert cell
js.Dimension("MEASURE").id
Insert cell
Insert cell
js.Dimension("MEASURE").Category("GP").label
Insert cell
Insert cell
tbl = js.toTable({
type: "arrobj"
})
Insert cell
Insert cell
js.toTable({
type: "arrobj",
by: "TIME_PERIOD",
drop: ["FREQUENCY", "MEASURE", "SUBJECT"]
})
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more