Skip to contents

Runs validate_schema() and acts on the result: fatal issues raise an error via stop(), warning-severity issues emit a warning().

Usage

apply_schema_validation(df_raw, provenance)

Arguments

df_raw

The data frame to validate.

provenance

A provenance list as returned by load_provenance().

Value

Invisibly, TRUE if no issues were found and FALSE otherwise. Errors if any fatal issue is present.