View source: R/fix-verification.R
verify_fixes | R Documentation |
Computes metrics to determine if the requested fixes are valid and won't cause record-level corruption. These fixes don't perform referential integrity checks. That must be done externally.
verify_fixes(
fixes,
id_col,
unique_id_col = "unique_id",
databases = NULL,
reference = NULL,
foreign_keys = NULL,
fix_history = NULL,
include_problem_cases = TRUE,
review_fields = c("problem", "verifier", "note"),
edit_fields = c(what = "what", change_to = "change_to", change_from = "change_from"),
verbose = TRUE
)
fixes |
A |
id_col |
The name of the column that contains the primary key |
unique_id_col |
The name of the column that contains the surrogate key |
databases |
A list of |
reference |
A master |
foreign_keys |
Not used. |
fix_history |
A previous iteration of fixes when, if provided, will
be used to determine if fixes found in |
include_problem_cases |
If |
review_fields |
The names of fields to be used for verification |
edit_fields |
The names of the fix columns |
verbose |
Enables logging messages |
A data.frame
of fixes with the "verified_fixes" attribute,
along with the fix verification metrics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.