I need to change strings representing subject IDs into factors or anything more palatable than server database exported strings. The strings look like this:
"0762e6cc-2f79-49ab-9927-e708d7d191a3", "1c24e4a5-10df-48c8-a1e5-98690c25a0ab", etc.
I'd like them to look like the subject IDs we are using that come from a Qualtrics-type questionnaire. Those look like:
0001, 0002, etc.
It's easy enough to recode a factor into the latter, but I can't figure out to how to replace the strings with factors.
Please and thank you!