Relative Content

Tag Archive for rexcelvbauid

How to create unique ids in xl sheets or R

I am creating unique ids on excel based on several variables like, name of the farmer, name of the field, hectares- to see how many times these variables match, and whether these fields could again be used for certain crops that do not prosper under monocropping. I created some manually intuitively- like “MT18MG3” for “Mattern, Tobias”(name of the farmer) “1.8 ha”(hectares) “Mittelgewanne 3.”(field name) the problem now is, there are several of these fields with these names, and i dont know if i am repeating the same unique id after a few hundred entries.