Just checked the tabular data format as I want to use it for JSON-stat [2]. Unfortunately I find that JSON tabular data is defined such that I can't use it for JSON-stat. Why these limits? I wonder, has those coding this solution investigated how JSON is used for statistics at all? The way it is now I can't even remap some (a lot) of the available datasets as they are multidimensional, and tabular data is two-dimensional in its nature.
My guess is that tabular data is an attempt to force something into a two-dimensional presentation even if it does not fit the problem. Can anyone explain or clarify?
Before anyone start to argue about use of JSON-stat, I will point out that this is in use by several statistical bureaus. The list includes Statistics Norway, UK’s Office for National Statistics, Statistics Sweden, Statistics Denmark, Instituto Galego de Estatística, the Central Statistics Office of Ireland, the United Nations Economic Commission for Europe and Eurostat. In particular Statistics Norway provide an API console where statistics can be extracted, composed, and exported as JSON-stat.[1]
[1] http://www.ssb.no/en/omssb/tjenester-og-verktoy/api/px-api [2] https://json-stat.org/
John Erling Blad /jeblad
Hi John,
Can you give an example of 1 of the datasets your trying to remap with ? That would help clarify. Are you a Statistician or Programmer or Both ?
Quick Notes: JSON-stat format and semantics seems to be easily transferable to JSON-LD (upon a quick inspection from my eyes) JSON-LD is already used on Data.gov and upcoming on Data.gov.uk and others.
Maybe working with Gregg Kellogg on a transform tool and processor between JSON-stat and JSON-LD ? https://json-ld.org/playground/ https://github.com/digitalbazaar/jsonld.js
Perhaps also http://w3c.github.io/csvw/primer/ is interesting or useful for you ?
Finally, OpenRefine 2.8 (download and check it out http://openrefine.org/) has new Wikidata / Metadata features, but we still have more work to do in other areas, here's just one https://github.com/OpenRefine/OpenRefine/issues/1269
-Thad
wikidata-tech@lists.wikimedia.org