[data-protocols] json-stat

Vincenzo Patruno patrunomeister at gmail.com
Wed Aug 8 08:56:15 BST 2012


Hi all!

I know,... it's summertime and most of you are probably on vacation.....
Anyway, my name is Vincenzo Patruno and I'm IT specialist at ISTAT, the
italian statistical office.

As probably you already know, some national statistical offices and seven
international organizations (like for instance IMF, OECD, Eurostat, ...)
are supporting the SDMX initiative (http://sdmx.org/)

In short, me and some colleagues around the world, we believe we should
 need a different architectural model and a different protocol for data
transmission. The reason is to permit developers to use data easily inside
web apps and mobile apps.

This is the sense of Json-Stat initiative (http://json-stat.org/) lanched
"from the bottom" last january.
Json-stat is a "json based" schema that permits to use easily datasets
inside applications. Just to be clear, for dataset we intend something
modeled as follow:

Suppose we have the following table:

Demographic Balance for the year 2010
Italy
                                                       males       females
   total
Resident population on 1st January292874033105292560340328Live births289185
272759561944Deaths286094301394587488Natural increase3091-28635-25544



A dataset "Demographic Balance" can be:

geo       time         sex      demographic balance               value
     italy       2010        m        Resident population on 1st
jan29287403italy
              2010f           Resident population on 1st jan31052925[....]

or, better

geo       time         sex      demographic balance               value
     37         2010        m        001
              2928740337                 2010f           001
                                  31052925


where "37" is the code for "italy" and 001 the code for "Resident
population on 1st jan" etc

This is what we call usually "multidimensional dataset". (But every dataset
is "multidimensional" because has almost the "geo" and "time" dimension
....) What we need is probably to promote the culture for modeling dataset.
What we should promote is modeling both data and structured metadata.

To obtain something like this (open it on your web browser)
http://apistat.istat.it/?q=getdatajson&dataset=DCIS_POPSTRBIL&dim=1,0,0,0&lang=1&tr=&te=

that is a structured dataset that can be easily used inside applications
for an "interactive" use of data.

Here some example.

http://www.vincenzopatruno.org/json-stat/
Enjoy!

VP



-- 
Vincenzo Patruno
http://www.segnalazionit.org
http://www.vincenzopatruno.org

“ If you want a track team to win the high jump you find one person who can
jump seven feet, not seven people who can jump one foot. ”.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/data-protocols/attachments/20120808/aa0f839a/attachment.htm>


More information about the data-protocols mailing list