Demos


Apply Validation Rules to Multiple Columns
Create multiple validation steps by using a list of column names with columns=.
Validating Data Freshness
Use date-based validations to ensure your data is current and recent.
Verifying Row and Column Counts
Check the dimensions of the table with the *_count_match() validation methods.
Checks for Missing Values
Perform validations that check whether missing/NA/Null values are present.
CLI Interactive Demos
These CLI demos showcase practical data quality workflows that you can use!
Custom Expression for Checking Column Values
A column expression can be used to check column values. Just use col_vals_expr() for this.
Column Selector Functions: Easily Pick Columns
Use column selector functions in the columns= argument to conveniently choose columns.
Comparison Checks Across Columns
Perform comparisons of values in columns to values in other columns.
Custom Validation with specially()
Create bespoke validations using specially() to implement domain-specific business rules.
Date and Datetime Validations
Comprehensive examples of date, datetime, and timezone-aware datetime comparisons.
Expect No Duplicate Rows
We can check for duplicate rows in the table with rows_distinct().
Checking for Duplicate Values
To check for duplicate values down a column, use rows_distinct() with a columns_subset= value.
Expectations with a Text Pattern
With col_vals_regex(), check for conformance to a regular expression.
Set Failure Threshold Levels
Set threshold levels to better gauge adverse data quality.
Mutate the Table in a Validation Step
For far more specialized validations, modify the table with the pre= argument before checking it.
Numeric Comparisons
Perform comparisons of values in columns to fixed values.
Check the Schema of a Table
The schema of a table can be flexibly defined with Schema and verified with col_schema_match().
Set Membership
Perform validations that check whether values are part of a set (or not part of one).
Using Parquet Data
A Parquet dataset can be used for data validation, thanks to Ibis.