Unique ID create

GESIS usually, but not always, calls the unique observation identifier within a data table 'uniqid'. These ID's are unique within one survey data frame, but not in the whole GESIS archive.

This helper function makes sure that whatever it is called in the GESIS SPSS file, it will be renamed to uniqid.

unique_id_create(df)

Arguments

df

A data frame like object with the raw statistical data.

Value

The df with a unique identifier.