Compares 2 dataset and logs differences
create_cleaning_log.Rd
Compares 2 dataset and logs differences
Usage
create_cleaning_log(
raw_dataset,
raw_dataset_uuid_column = "uuid",
clean_dataset = clean_dataset,
clean_dataset_uuid_column = "uuid",
check_for_deletion_log = T,
columns_not_to_check = NULL,
check_for_variable_name = T
)
Arguments
- raw_dataset
Raw dataset
- raw_dataset_uuid_column
uuid column in the raw dataset. Default is "uuid".
- clean_dataset
Clean dataset
- clean_dataset_uuid_column
uuid column in the clean dataset. Default is "uuid".
- check_for_deletion_log
TRUE to flag the removed survey
- columns_not_to_check
Columns to exclude from the checks
- check_for_variable_name
TRUE to flag the removed variables
Examples
if (FALSE) { # \dontrun{
create_cleaning_log(
raw_dataset = cleaningtools::cleaningtools_raw_data, raw_dataset_uuid_column = "X_uuid",
clean_dataset = cleaningtools::cleaningtools_clean_data, clean_dataset_uuid_column = "X_uuid",
check_for_deletion_log = TRUE, check_for_variable_name = TRUE
)
} # }