report_var_mods | R Documentation |
Reports if variables have been added, removed, or are preserved between two data frames. Intended to be used to review quality control / data preparation.
report_var_mods(before_tbl = NULL, after_tbl = NULL)
before_tbl |
Data frame from before modifications were made. |
after_tbl |
Data frame from after modifications were made. |
Tibble containing two columns. 'variable' contains name of each
variable. 'presence' contains the presence of the variable in
after_tbl
.
example_data_merged <- merge_cols(example_data, diabetes_type,
diabetes, "diabetes_merged", rm_in_vars = TRUE)
report_var_mods(example_data, example_data_merged)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.