Helper function: replace a list index with a name

labeledList(inpLst, labelTxt = "id")

Arguments

inpLst

input list

labelTxt

user defined txt used for naming list

Value

Labeled list