Profile

Cover photo
JSON-stat
2,615 followers|118,920 views
AboutPosts

Stream

JSON-stat

Shared publicly  - 
 
 
How to get collections info using JSON-stat Javascript Toolkit 0.8.0

You can get the items data accessing this.link.item or use the handy .Item() method. This method can be called like this:

this.Item(); //get the items array
this.Item(0); //get the first item
this.Item({"class" : "dataset"}); //get the array of item of class "dataset"

JSONstat("http://json-stat.org/samples/collection.json", function(){
   if(this.class==="collection"){
      var col=this.Item();

      if(col.length){
         html="<ol>";
         col.forEach(function(e){
            html+='<li><a href="'+e.href+'">'+e.label+'</a></li>';
         });
         html+="</ol>";
         document.getElementsByTagName("body")[0].innerHTML=html;
      }
   }
});

+JSON-stat  #jjt   #js   #json   #stats   #opendata   #api  
View original post
1
1
Charlie Smith's profile photo
Add a comment...

JSON-stat

Shared publicly  - 
 
JSON-stat Javascript Toolkit v. 0.7.5 is out

Latest version fully supports JSON-stat datasets, not only JSON-stat bundles.

For example:

Bundle
http://json-stat.org/samples/galicia.json

Dataset
http://json-stat.org/samples/galicia-ds.json

You can use the JSON-stat Viewer

http://json-stat.org/format/viewer/?uri=http%3A%2F%2Fjson-stat.org%2Fsamples%2Fgalicia-ds.json

or 

the JSON-stat Table Browser 

http://json-stat.org/format/browser/?uri=http%3A%2F%2Fjson-stat.org%2Fsamples%2Fgalicia-ds.json&ds=0

to view dataset responses.

Download the latest version from:

https://github.com/badosa/JSON-stat

+JSON-stat  #json   #stats   #opendata   #datasets   #cube   #table   #api   #standard  
JSON-stat Javascript Toolkit
View original post
2
1
Maurizio Pirillo's profile photo
Add a comment...

JSON-stat

Shared publicly  - 
 
What's next: JSON-stat for all the stages in statistics dissemination

How? Enabling a  general grouping mechanism: the "collection" class

https://groups.google.com/d/msg/json-stat/N4xyvgMC1CI/pu42mPeK3pEJ

#hateoas   #hypermedia   #rest   #json   #stats   #nso  
1
1
Xavier Badosa's profile photo
Add a comment...

JSON-stat

Shared publicly  - 
 
SDMX Gateway supports +json-stat as an output data format

https://github.com/kalessine/sdmxgateway

#SDMX #stats #abs #oecd #imf #inegi #istat #ecb #uis #fao #ilo #data  #opendata
sdmxgateway - SDMX Gateway
1
Add a comment...

JSON-stat

Shared publicly  - 
 
 
JSON-stat in the session "The future of standards in statistics", United Nations, Geneva.

http://www.slideshare.net/badosa/jsonstat

In 2015, I was invited to present the JSON-stat standard in the Workshop on International Collaboration for Standards-Based Modernisation (Geneva, 5-7 May 2015). 

http://www1.unece.org/stat/platform/display/WICSBM/Geneva%2C+5-7+May+2015

#unece   #json  +JSON-stat  #cube   #stats   #opendata   #api  
In 2015, I was invited to present the JSON-stat standard in the Workshop on International Collaboration for Standards-Based Modernisation (Geneva, 5-7 May 2015). http://www1.unece.org/stat/platform/display/WICSBM/Geneva%2C+5-7+May+2015
2 comments on original post
5
Add a comment...

JSON-stat

Shared publicly  - 
 
Today JSON-stat was presented at the United Nations in Geneva in the context of the modernization of statistical standards.

The presentation by +Xavier Badosa  will be soon online.

#json   #api   #standards   #stats   #unece   #hlg  
2
Add a comment...

JSON-stat

Shared publicly  - 
 
Finnish Labor Market

Finland joins the JSON-stat community!

This visualization uses the Statistics Finland API to retrieve information about the population by labor force status in the JSON-stat format. The data is then processed with the help of the JSON-stat Javascript Toolkit. Finally, it is visualized using Idescat Visual.

http://bl.ocks.org/81ab0e82138199d7e166

#dataviz    #stats   #finland   #js   #json   #labor  
5
2
Xavier Badosa's profile photoManuel Martin's profile photo
Add a comment...

JSON-stat

Shared publicly  - 
 
JSON-stat spec has been updated (1.03) to include #collections.

http://json-stat.org/format/

#stats #spec #json #hypermedia #hateoas #opendata #api
JSON-stat is a simple lightweight standard best suited for data visualization, mobile apps or open data initiatives, that has been designed for all kinds of disseminators.
2
1
Xavier Badosa's profile photo
Add a comment...

JSON-stat

Shared publicly  - 
 
New set of sample files

The sample files list at

http://json-stat.org/format/

has been updated to include "dataset" responses and the future (1.03) "collection" response.

#stats   #json   #samples   #examples   #hypermedia   #hateoas   #dataset   #collection  
3
Add a comment...

JSON-stat

Shared publicly  - 
1
Add a comment...

JSON-stat

Shared publicly  - 
 
 
JSON-stat Javascript Toolkit v. 0.7.2 is out

The new release of the #javascript   #library  to process +JSON-stat responses can be downloaded from

https://github.com/badosa/JSON-stat

In the new release, dimensions without a geo, time or metric role are considered "classifications" and can be retrieved like this:

.Dataset(0).role.classification

For example,

JSONstat("http://json-stat.org/samples/oecd-canada.json").Dataset("canada").role.classification

returns

["age", "sex"]

And

JSONstat("http://json-stat.org/samples/oecd-canada.json").Dataset("canada").Dimension("age").role

returns

"classification"

This role can also be used to filter dimensions:

JSONstat("http://json-stat.org/samples/oecd-canada.json").Dataset("canada").Dimension({role: "classification"})

https://github.com/badosa/JSON-stat/wiki/API-Reference
2 comments on original post
3
1
Jürgen Bierlein's profile photo
Add a comment...

JSON-stat

Shared publicly  - 
 
Retrieving data from two JSON-stat sources: Dano-Norwegian Inflation

Statistics Denmark and Statistics Norway support the JSON-stat format. In this example, CPI (12-month rate) is retrieved from both sources, processed with the JSON-stat Javascript Toolkit and finally visualized with Idescat Visual.

http://bl.ocks.org/a7f539bd1f367f8d5d3f

#json   #cube   #opendata   #stats   #api   #denmark   #norway  
2
1
Xavier Badosa's profile photo
Add a comment...
Story
Tagline
A simple light standard for all kinds of data disseminators
Introduction
The main statistical standards for data and metadata exchange are XML-based: they are usually complicated and verbose: probably not best suited as an exchange format for apps.

JSON-stat (json-stat.org) is a simple lightweight JSON format to disseminate data using a cube (=tabular) model.