Learn R Programming

define (version 0.2.9)

makesasnames: Make names for a dataset that are unique and follow SAS naming conventions.

Description

Makes names for a dataset that are unique and follow SAS naming conventions. Modeled after SASxport::makeSasNames, but handling special cases.

Usage

makesasnames(names, nchar = 8, maxPasses = 10, quiet = FALSE)

Arguments

names

existing column names

nchar

limit on number of characters

maxPasses

limit on number of reconciliation attempts

quiet

should messages be suppressed?

Value

character