codes: Reclassify specified columns as codes or list codes columns in a data.table
Description
This function reclassifies specified columns of a data.table to the 'qe.code' format if column names are provided.
If no column names are provided, it returns the names of columns that are already classified as 'qe.code'.
Usage
codes(x, ...)
Value
The modified data.table with specified columns reclassified as 'qe.code', or a character vector of column names already classified as 'qe.unit'.
Arguments
x
A data.table. The data.table containing the columns to be reclassified or checked.
...
Additional arguments specifying the names of the columns to be reclassified.