[DDI-users] RE: DDI-users Digest, Vol 26, Issue 1

Sanda Ionescu sandai at umich.edu
Mon Oct 9 12:09:10 EDT 2006


Hi, Steve.

The intent still is for the variables to be referenced in the <varGrp>.
Here's how you do it.
First, fill in a *unique* ID (unique to the file) for each var - say,
V1, V2, etc. or it can be anything - just start with a letter.
Then list all of the IDs pertaining to one group in the -single- var
attribute of that <varGrp> like this:
<varGrp var="V1 V2 V3 V4"> 
the referenced IDs should be separated by a space, that's enough for
software to recognize it as a list.
(spaces are not allowed *within" any ID)


Sanda Ionescu
ICPSR
University of Michigan
P.O. Box 1248
Ann Arbor, MI 48106

Phone, Fax: 734-615-7890 

-----Original Message-----
From: ddi-users-bounces at icpsr.umich.edu
[mailto:ddi-users-bounces at icpsr.umich.edu] On Behalf Of
ddi-users-request at icpsr.umich.edu
Sent: Monday, October 09, 2006 12:03 PM
To: ddi-users at icpsr.umich.edu
Subject: DDI-users Digest, Vol 26, Issue 1

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. varGrp/var relationships (Steve McRoberts)


----------------------------------------------------------------------

Message: 1
Date: Mon, 09 Oct 2006 10:51:06 -0500
From: Steve McRoberts <steve.mcroberts at doit.wisc.edu>
Subject: [DDI-users] varGrp/var relationships
To: ddi-users at icpsr.umich.edu
Message-ID: <B71ECA20-2A56-465C-99F9-8ED58F339282 at doit.wisc.edu>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Can anyone provide an example of varGrp/var relationships usage? I  
have 25 groups of 10-50 var elements per group. It seems natural to  
me to specify the groups in varGrp then reference the varGrp id in  
the var. Apparently this was original intent but later changed when  
reading from the following documentation excerpts.

"<!--vargrp attribute on var element removed as redundant;
use var attribute on vargrp element to
encode vargrp to var relationships -->"

"<varGrp><notes>This variable group was created for the purpose of
  combining all derived variables.</notes></varGrp>"

But how does one reference all the var id's in the varGrp? There's  
only a single attribute of var.

Steve McRoberts
Institute on Aging
University of Wisconsin - Madison
608-265-6757


------------------------------

_______________________________________________
DDI-users mailing list
DDI-users at icpsr.umich.edu
http://www.icpsr.umich.edu/mailman/listinfo/ddi-users


End of DDI-users Digest, Vol 26, Issue 1
****************************************



More information about the DDI-users mailing list