[DDI-users] DDI-users Digest, Vol 61, Issue 3

Pascal Heus pascal.heus at gmail.com
Thu Oct 14 13:14:36 EDT 2010


 Larry:
I have a SAS to DDI2 export based on the same principle. Your SAS macro
code to escape special character remains a bit o a mystery to me but was
very helpful, hope you don't mind I reused it.
Regarding your DDI3 export, an upgrade to DDI 3.1 would be great to have
(or 3.2 when out).
Would be helpful to separate the code into different pieces like basic
export (data dictionary only), export with extra metadata (like question
texts), and sample data/metadata. Do you have any plan to further work
on the code in the near future? It would also be useful to attach a
license to the SAS source code (I would of course suggest as permissive
as possible like BSD).
best
Pascal


On 10/14/10 12:00 PM, ddi-users-request at icpsr.umich.edu wrote:
> Send DDI-users mailing list submissions to
> 	ddi-users at icpsr.umich.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://www.icpsr.umich.edu/mailman/listinfo/ddi-users
> or, via email, send a message with subject or body 'help' to
> 	ddi-users-request at icpsr.umich.edu
>
> You can reach the person managing the list at
> 	ddi-users-owner at icpsr.umich.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of DDI-users digest..."
>
>
> Today's Topics:
>
>    1. SAS CNTLIN CNTLOUT dataset in DDI31 (Hoyle, Larry)
>    2. Re: SAS CNTLIN CNTLOUT dataset in DDI31 (Michelle Edwards)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 14 Oct 2010 10:21:03 -0500
> From: "Hoyle, Larry" <larryhoyle at ku.edu>
> Subject: [DDI-users] SAS CNTLIN CNTLOUT dataset in DDI31
> To: "Data Documentation Initiative Users Group"
> 	<ddi-users at icpsr.umich.edu>
> Message-ID:
> 	<C9513B9B476BBB4AB7BE2EA565E7E2F201161444 at MAILBOX-23.home.ku.edu>
> Content-Type: text/plain;	charset="us-ascii"
>
> SAS (and Stata) are a little different from SPSS in that labels for
> values are defined independently from variables. A Variable then
> contains a pointer to a set of labels (formats).
>
> SAS has the capability to create a dataset containing a collection of
> label definitions, a "CNTLOUT" dataset. This can be then used as a
> "CNTLIN" dataset to recreate the collection of labels. Preserving a SAS
> dataset involves preserving the dataset itself and the associated CNTLIN
> dataset.
>
> Since the structure of the CNTLIN dataset is always the same, it is a
> good candidate for a DDI 3.1 resource package. A draft of such a package
> can be found at:
>
>
> https://documents.ku.edu/users2/larryhoyle/Public/DDI31/SAS_CNTLIN_CNTLO
> UT_ResourcePackage.xml
>
> A SAS program which writes the above DDI file can be found at:
>
> https://documents.ku.edu/users2/larryhoyle/Public/DDI31/SAS_CNTLIN_CNTLO
> UT_ResourcePackage_SASputs.sas 
>
>
> Feedback would be appreciated.
>
>
>
> Larry Hoyle
> Senior Scientist
> Institute for Policy & Social Research, University of Kansas
> 1541 Lilac Lane, Blake 607
> Lawrence, KS  66045-3129
>
> http://www.ipsr.ku.edu
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 14 Oct 2010 11:24:16 -0400 (EDT)
> From: Michelle Edwards <edwardsm at uoguelph.ca>
> Subject: Re: [DDI-users] SAS CNTLIN CNTLOUT dataset in DDI31
> To: Data Documentation Initiative Users Group
> 	<ddi-users at icpsr.umich.edu>
> Message-ID:
> 	<263161268.14858.1287069856390.JavaMail.root at superior.cs.uoguelph.ca>
> Content-Type: text/plain; charset=utf-8
>
> Hey Larry!
>
> This is great news!  Can't wait to try it out :)
>
> Michelle
>
>
> ----- Original Message -----
> From: "Larry Hoyle" <larryhoyle at ku.edu>
> To: "Data Documentation Initiative Users Group" <ddi-users at icpsr.umich.edu>
> Sent: Thursday, October 14, 2010 11:21:03 AM
> Subject: [DDI-users] SAS CNTLIN CNTLOUT dataset in DDI31
>
> SAS (and Stata) are a little different from SPSS in that labels for
> values are defined independently from variables. A Variable then
> contains a pointer to a set of labels (formats).
>
> SAS has the capability to create a dataset containing a collection of
> label definitions, a "CNTLOUT" dataset. This can be then used as a
> "CNTLIN" dataset to recreate the collection of labels. Preserving a SAS
> dataset involves preserving the dataset itself and the associated CNTLIN
> dataset.
>
> Since the structure of the CNTLIN dataset is always the same, it is a
> good candidate for a DDI 3.1 resource package. A draft of such a package
> can be found at:
>
>
> https://documents.ku.edu/users2/larryhoyle/Public/DDI31/SAS_CNTLIN_CNTLO
> UT_ResourcePackage.xml
>
> A SAS program which writes the above DDI file can be found at:
>
> https://documents.ku.edu/users2/larryhoyle/Public/DDI31/SAS_CNTLIN_CNTLO
> UT_ResourcePackage_SASputs.sas 
>
>
> Feedback would be appreciated.
>
>
>
> Larry Hoyle
> Senior Scientist
> Institute for Policy & Social Research, University of Kansas
> 1541 Lilac Lane, Blake 607
> Lawrence, KS  66045-3129
>
> http://www.ipsr.ku.edu
>
>
> _______________________________________________
> DDI-users mailing list
> DDI-users at icpsr.umich.edu
> http://www.icpsr.umich.edu/mailman/listinfo/ddi-users
>



More information about the DDI-users mailing list