View source: R/cdisc_validate.R
| build_metadata_comparison | R Documentation |
Internal function to compare metadata attributes (types, labels, lengths, formats, and column order) between two datasets.
build_metadata_comparison(df1, df2)
df1 |
First data frame (base). |
df2 |
Second data frame (compare). |
A list with:
type_mismatches |
Data frame of variables with differing R classes |
label_mismatches |
Data frame of variables with differing labels |
length_mismatches |
Data frame of variables with differing lengths (max character width or haven width attribute) |
format_mismatches |
Data frame of variables with differing SAS format attributes (format.sas or display_format) |
order_match |
Logical: TRUE if common column ordering matches |
order_df1 |
Character: column order in df1 for common columns |
order_df2 |
Character: column order in df2 for common columns |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.