[DDI-users] Fwd: Anyone have a JSON Schema for DDI Codebook?

Olof Olsson olof.olsson at snd.gu.se
Thu Apr 14 04:01:17 EDT 2016


Hi!
This is an old attempt to do the mapping for a hackathon where we made mappings for creating json for indexing in elastic search.
There is also a few xslt:s in this repo:
https://github.com/NordicHealthData/search-portal/tree/master/resources/xslt

These xslts generates flatten xml witch is read into an array by php (python/c#/java could be used as well I guess) and saves it as json:
https://github.com/NordicHealthData/search-portal/blob/master/app/Helpers/XsltHelper.php#L40-L54

Hope this will be useful in some way.
We will look into doing other json-mappings soon for CESSDA and will make these avalible online.
I also think Marcel Hebing <mhebing at diw.de<mailto:mhebing at diw.de>>have done some mappings of DDI-XML to json-structures (correct me if I am wrong Marcel ☺ ).

Best regards,
Olof Olsson
Swedish National Data Service (SND)

Från: ddi-users-bounces at icpsr.umich.edu [mailto:ddi-users-bounces at icpsr.umich.edu] För Eric White
Skickat: den 13 april 2016 20:17
Till: Data Documentation Initiative Users Group <ddi-users at icpsr.umich.edu>
Ämne: Re: [DDI-users] Fwd: Anyone have a JSON Schema for DDI Codebook?

It looks like the MetaData Transform project is looking at this:

https://github.com/MetadataTransform/ddi-xslt/tree/master/ddi-json

Thanks,

Eric


From: ddi-users-bounces at icpsr.umich.edu<mailto:ddi-users-bounces at icpsr.umich.edu> [mailto:ddi-users-bounces at icpsr.umich.edu] On Behalf Of Castro, Eleni
Sent: Wednesday, April 13, 2016 6:19 AM
To: ddi-users at icpsr.umich.edu<mailto:ddi-users at icpsr.umich.edu>
Subject: [DDI-users] Fwd: Anyone have a JSON Schema for DDI Codebook?

Hello,

Our team at the Dataverse Project is looking into how we could export DDI in JSON and were wondering if you knew of anyone who published a JSON Schema / Crosswalk for DDI Codebook?

Thanks in advance for any information or recommendations.

Cheers
Eleni
--

Eleni Castro
Research Coordinator, Data Curation and Outreach
IQSS, Harvard University
617-496-0703<tel:617-496-0703>
http://www.iq.harvard.edu/people/eleni-castro
http://orcid.org/0000-0001-9767-8536



~Got Data? Check out the Dataverse Project.<http://dataverse.org/>~



--

Eleni Castro
Research Coordinator, Data Curation and Outreach
IQSS, Harvard University
617-496-0703
http://www.iq.harvard.edu/people/eleni-castro
http://orcid.org/0000-0001-9767-8536



~Got Data? Check out the Dataverse Project.<http://dataverse.org/>~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.icpsr.umich.edu/pipermail/ddi-users/attachments/20160414/f567f30a/attachment-0001.html 


More information about the DDI-users mailing list