Skip to contents

Dataframe can have "tmp_id" column already or the columns can be specified with 'x' and 'y' arguments

Usage

get_unique_tmp_ids(df, x = "hy_id", y = "cs_id")

Arguments

df

dataframe with x and y as columns, with an optional "tmp_id" column, otherwise a tmp_id will be created from x_y

x

The name of the column in df to make up the first part of the added tmp_id column (tmp_id = x_y). Default is hy_id.

y

The name of the column in df to make up the second part of the added tmp_id column (tmp_id = x_y). Default is cs_id.

Value

character vector of unique "tmp_id" values in the given dataframe