uid_labeller: Generate uids for datasets

View source: R/uid_labeller.R

uid_labellerR Documentation

Generate uids for datasets

Description

Assigns unique identifiers to dataset observations. If there is already a column called uid, that does infact contain unique ids, it simply uses them. Otherwise, it looks for the columns 'depth' and 'label', and generates a meaningful identifier by combining them. Otherwise, it simply uses consecutive numbers prefixed by 'uid'.

Usage

uid_labeller(dataframe)

Arguments

dataframe

pass the name of a dataframe parsed using "itrax_import()" or "itrax_join()"


itraxR documentation built on July 26, 2023, 5:48 p.m.

Related to uid_labeller in itraxR...