Hello,
I am currently working with a wide dataset and I would like to assign a unique variable to each individual, not each observation. Example below:
Beneficiary IDs are not unique, but Claim IDs are. However, I need to generate a unique ID that will identify everyone with the same beneficiary ID as one individual. Is there a way I can generate a unique ID for just each beneficiary ID?
Any advice is appreciated!
I am currently working with a wide dataset and I would like to assign a unique variable to each individual, not each observation. Example below:
| Beneficiary ID | Claim ID |
| EEEAVH9E | abcde |
| EEEAVH9E | fghij |
| EEEAVH9E | klmno |
| EEEAVG7F | pqrst |
Any advice is appreciated!

Comment