Tidy Schema Validation for Data Frames
Validate a data.frame against a schema
Check if all values in a vector are distinct
Check if the vector is sorted numerically or alphanumerically
Check if all values are not NA
Check if a vector has all positive integers
Check if a vector is text-based (character or factor)
Check if a vector has all whole numbers
Retrieve latest schematic run time errors
Ignore infinite values in a predicate
Allow NA in a predicate
Print method for Schema
Create a schema object
Validate data.frames against schemas to ensure that data matches expectations. Define schemas using 'tidyselect' and predicate functions for type consistency, nullability, and more. Schema failure messages can be tailored for non-technical users and are ideal for user-facing applications such as in 'shiny' or 'plumber'.
Useful links