Package index
-
check_schema()
- Validate a data.frame against a schema
-
schema()
- Create a schema object
-
print(<Schema>)
- Print method for Schema
Predicates
Functions that must return a single TRUE or FALSE indicating the pass or fail of the check
-
is_all_distinct()
- Check if all values in a vector are distinct
-
is_incrementing()
- Check if the vector is sorted numerically or alphanumerically
-
is_non_null()
- Check if all values are not NA
-
is_positive_integer()
- Check if a vector has all positive integers
-
is_text()
- Check if a vector is text-based (character or factor)
-
is_whole_number()
- Check if a vector has all whole numbers
-
mod_infinitable()
- Ignore infinite values in a predicate
-
mod_nullable()
- Allow NA in a predicate