jsonstat-repl

Explore a JSON-stat data set in the node REPL.

Usage no npm install needed!

<script type="module">
  import jsonstatRepl from 'https://cdn.skypack.dev/jsonstat-repl';
</script>

README

jsonstat-repl

Explore a JSON-stat dataset in the node REPL.

For the JSONStat JS API, see the JSON-stat Javascript Toolkit (JJT)

USAGE:

On the command line:

$ jsonstat-repl http://ec.europa.eu/eurostat/wdds/rest/data/v2.1/json/en/tsdec450

> ds.Dimension().map(e => e.label)
[ 'sex', 'geo', 'time' ]

As a module:

import jsonStatRepl from 'jsonstat-repl';
jsonStatRepl.start(data);