Numerous Philanthropic Misanthropes

    jsonstat-conv

    1.4.1 • Public • Published

    JSON-stat Command Line Conversion Tools

    The JSON-stat Command Line Conversion Tools contain command line tools for converting to and from JSON-stat. They support different JSON flavors, CSV (including CSV-stat) and SDMX-JSON. They are built upon the JSON-stat Javascript Toolkit and the JSON-stat Javascript Utilities Suite.

    Installation

    npm install -g jsonstat-conv
    

    More in the Installation page.

    Available commands

    Check the API Reference page for more.

    Example

    Get unemployment rate time series by country from Eurostat and convert it to CSV.

    curl "https://ec.europa.eu/eurostat/wdds/rest/data/v2.1/json/en/tesem120?precision=1" -o unr.jsonstat
    
    jsonstat2csv unr.jsonstat unr.csv
    

    Or using the stream interface:

    curl "https://ec.europa.eu/eurostat/wdds/rest/data/v2.1/json/en/tesem120?precision=1" | jsonstat2csv > unr.csv -t
    

    More in the Examples page.

      This feature is exclusive to Teams

      Illustration of wombats

      The package file explorer is only available for Teams at the moment.

      We may support exploring this package in the future. Check back soon.

      Install

      npm i jsonstat-conv

      DownloadsWeekly Downloads

      24

      Version

      1.4.1

      License

      Apache-2.0

      Unpacked Size

      96.6 kB

      Total Files

      19

      Last publish

      Collaborators

      • badosa