Commit bd146310 authored by Jason Rigby's avatar Jason Rigby
Browse files

Update data_quality.R dataset comparison won't stop on error

parent fe2fb048
......@@ -272,7 +272,7 @@ DatasetComparison <- function(dataset_version1, dataset_version2, section_name,
cols_deleted <- setdiff(colnames(dataset1), colnames(dataset2))
# Calculate diff, add in column addition and deletion information
diff <- compareDF::compare_df(dataset2[,cols], dataset1[,cols], group_col = id_column, keep_unchanged_cols = FALSE, limit_html = max_html_table_length)
diff <- compareDF::compare_df(dataset2[,cols], dataset1[,cols], group_col = id_column, keep_unchanged_cols = FALSE, limit_html = max_html_table_length, stop_on_error = FALSE)
diff$cols_added <- cols_added
diff$cols_deleted <- cols_deleted
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment