I would like to know if there is anyone out there who has implemented a away to create unique persistent person identifiers in Stata.
My idea about the identifier is that it contains a mix of person characteristics (e.g. first letter of first and last name) and a 6-digit-random number.
This task should not be too difficult to implement, but I have a database that is expanding by time. Meaning that in addition to the 30.000 identities of today I have to create new ones in a half years' time. So is there a way to avoid identical random numbers in a later run of the syntax?
My idea about the identifier is that it contains a mix of person characteristics (e.g. first letter of first and last name) and a 6-digit-random number.
This task should not be too difficult to implement, but I have a database that is expanding by time. Meaning that in addition to the 30.000 identities of today I have to create new ones in a half years' time. So is there a way to avoid identical random numbers in a later run of the syntax?
Comment