Extract column labels as defined in SAS
colLabels(x, sort = "alpha", as.fun)object with elements containing label attributes.
If sort="alpha", results are sorted alphabetically.
The default is to return data as a data.frame. Pass a function in as.fun to convert to something else. If data.tables are wanted, use `as.fun="data.table"`. The default can be configured using `NMdataConf()`.
A data.frame with variable and their labels
compareCols NMinfo