buildName {conjurer}R Documentation

Build Dynamic Strings

Description

Builds strings that could be further used as identifiers. This is an internal function and is currently not exported in the package.

Usage

buildName(numOfItems, prefix)

Arguments

numOfItems

A number. This defines the number of elements to be output.

prefix

A string. This defines the prefix for the strings. For example, the function buildCust uses this function and passes the prefix "cust" while the function buildProd passes the prefix "sku"

Details

This function is used by other internal functions namely, buildCust and buildProd to produce the alphanumeric identifiers for customers and products respectively.

Value

A character with the alphanumeric strings is returned. These strings use the prefix that is mentioned in the argument "prefix"


[Package conjurer version 1.7.1 Index]