retrieve_column_names {cleanepi} | R Documentation |
Get column names
Description
When several performing data cleaning operations using the clean_data()
function, the input column names might be altered by after the column names
cleaning. As a consequence of this, some cleaning operations will fail due to
the column names mismatch. This function is provided to anticipate on this
scenario, hence providing continuity between the cleaning operations.
Usage
retrieve_column_names(data, target_columns)
Arguments
data |
the input data. It can also be a modified data generated in intermediate cleaning operations. |
target_columns |
a vector of target column names |
Value
a vector of column names to be used for the target cleaning operations
[Package cleanepi version 1.0.2 Index]