Skip to contents

Schema, null, and suspect-value audit

Usage

mrm_uof_data_quality_audit(df, sidecar = NULL, expected_schema = NULL)

Arguments

df

A data.frame.

sidecar

Optional list with fields (list-of-list with id and type) and optionally records, in the CKAN datastore_search response shape.

expected_schema

Optional list with a columns field carrying named entries with name and dtype.

Value

Named list with per_column, missing_columns, extra_columns, dtype_mismatches, suspect_flags.