View source: R/assert_field_consistency.R
| assert_field_consistency | R Documentation |
Assert Field Consistency Between Data and Metadata
assert_field_consistency(new_data, field_info)
new_data |
A data frame. The new dataset whose field names need to be checked. |
field_info |
A data frame. Metadata containing a column named |
This function checks for consistency between the field names in new data and the field names specified in a metadata reference. It warns if there are missing fields in the new data or if new unexpected fields appear in the data that are not defined in the metadata.
No return value. The function issues warnings if there are inconsistencies in field names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.