Function to generate sequence of integer ids from vector of names Determines number of 00s needed based on number of records

process_generate_id(x, prefix, sort = FALSE)

Arguments

x

Vector of text to convert

prefix

Text to put before id integer

sort

Logical to indicate whether x should be sorted before ids are generated

Value

Vector of ids