New general JSON-stat viewer

4 views
Skip to first unread message

Xavier Badosa

unread,
May 23, 2024, 7:37:09 AMMay 23
to json-stat
The  Statistical Institute of Catalonia (Idescat) has a JSON-stat API 


that uses JSON-stat collections to expose the available statistics and datasets, JSON-stat empty datasets to expose metadata and JSON-stat datasets to expose data.

As a consequence, it is possible to discover all the API calls starting from a single end-point:


To link metadata (empty datasets) with data (datasets) the API uses the describes/describedby properties.

To expose corrections, it uses the monitor property.

Idescat's API uses an extension to describe statuses in a similar way to Eurostat's API.

Idescat has also developed a JSON-stat API viewer. This viewer is a simplified version of Idescat's table editor. It's a general JSON-stat viewer that can accept any JSON-stat response. This viewer supports GET and POST requests. It allows users to design a customized table from a JSON-stat dataset and download it as a spreadsheet.

The JSON-stat viewer accepts any valid JSON-stat response of any kind (collections, datasets, v1 bundles) and, for example, can be used to browse Idescat's API


but can also be used to view any dataset (or collection or bundle) from any provider that supports JSON-stat (v1 or v2).

Examples:

Eurostat (JSON-stat v2): Unemployment rates by sex and country of birth (%)

Statistics Norway (JSON-stat v1): Labor Force. Age / Sex

Ireland's Central Statistics Office (JSON-stat v2 with unit information -currently the viewer only uses the number of decimals information-): ILO Participation, Employment and Unemployment Characteristics

Any feedback is welcome.

Xavier
Reply all
Reply to author
Forward
0 new messages