[EpiData-list] creating an identifiant from various variables

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Fri May 15 12:50:17 CDT 2009

In my example, you'll need to add additional checks to make certain the
first three variables have 3, 3, and 4 characters -- to get 10 plus one
or two member in household number.

epidata-list at lists.umanitoba.ca wrote:
> Dear all,
> I would have a question about the creation of an identifier for data
> entry.
> I would like the identifier to be automatically created in the .rec
> file after entering 4 variables and as an aggregation of these 4
> variables.
> For instance my identifier is
> ID=region number+village number+household number+member in the
> household number
> Do you have any clue about how to do this?
> Thank you for your help.
> Jean-Francois
> _______________________________________________
> EpiData-list mailing list
> EpiData-list at lists.umanitoba.ca
> http://lists.umanitoba.ca/mailman/listinfo/epidata-list

More information about the EpiData-list mailing list