Profile

Cover photo
JSON-stat
2,610 followers|125,087 views
AboutPosts

Stream

JSON-stat

Shared publicly  - 
 
JSON-stat JavaScript sample code

If you need to deal with JSON-stat responses in JavaScript but want to use your own code instead of a library like the JSON-stat Javascript Toolkit

http://json-stat.com

here is some sample code.

#json   #javascript   #js   #sample   #code   #stats   #data   #api   #opendata  
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.
1
1
Xavier Badosa's profile photo
Add a comment...

JSON-stat

Shared publicly  - 
1
Add a comment...

JSON-stat

Shared publicly  - 
 
 
JSON-stat Javascript Toolkit v. 0.8.3 is out!

It includes minor changes:

1) Item() returns null when an invalid object is passed.

2) JSONstat() in async connections returns a blank object.

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

#stats   #json   #api   #opendata  +JSON-stat  #cube   #tables   #js   #javascript   #jjt  
JSON-stat Javascript Toolkit
View original post
1
Add a comment...

JSON-stat

Shared publicly  - 
 
The United Nations Economic Commission for Europe (  #UNECE  ) now supports the JSON-stat format.

#stats   #json   #data   #api   #opendata   #cube   #UN  
6
1
Xavier Badosa'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  - 
 
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  - 
 
JSON-stat PHP sample code

If you need to deal with JSON-stat responses in PHP, here is some sample code.
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.
1
1
Xavier Badosa's profile photo
Add a comment...

JSON-stat

Shared publicly  - 
 
 
The API reference of the +JSON-stat Javascript Toolkit has been enriched with lots of sample code.

https://github.com/badosa/JSON-stat/wiki/API-Reference

#javascript   #js   #json   #jjt   #sample   #code   #specs   #stats   #opendata     #cube   #api  
View original post
1
Add a comment...

JSON-stat

Shared publicly  - 
 
 
JSON-stat Javascript Toolkit API reference, fully reorganized. I hope it's clearer now.

+JSON-stat  #json   #stats   #api   #jjt  

https://github.com/badosa/JSON-stat/wiki/API-Reference
View original post
1
Add a comment...

JSON-stat

Shared publicly  - 
 
The +JSON-stat Viewer and the +JSON-stat Table Browser, now accept bundles, datasets but also collections

For example, using the JSON-stat Dataset Sample Collection:

http://json-stat.org/samples/collection.json

Viewer collection example
http://json-stat.org/format/viewer/?uri=http%3A%2F%2Fjson-stat.org%2Fsamples%2Fcollection.json

Browser collection example
http://json-stat.org/format/browser/?uri=http%3A%2F%2Fjson-stat.org%2Fsamples%2Fcollection.json

(You may need to hit Reload to update the JSON-stat lib to the latest release.)
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.
1
2
Jimmi p's profile photoXavier Badosa's profile photomartin gallagher's profile photo
Add a comment...

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  - 
 
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...
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.