Verbose Assertions for Tabular Data (Data.frames and Data.tables)
Assert that a data.frame contains all unique combinations of specified...
Assert that a data.frame contains a specified number of rows
Assert that a data.frame contains specified column names
Assert that a data.frame's columns are certain types
Assert that a data.frame's columns are non-NA/infinite, or are greater...
Check for the existence of a vector of files, optionally repeated for ...
Given a vector of filenames, append all files and return as one data.t...
Simple, flexible, assertions on data.frame or data.table objects with verbose output for vetting. While other assertion packages apply towards more general use-cases, assertable is tailored towards tabular data. It includes functions to check variable names and values, whether the dataset contains all combinations of a given set of unique identifiers, and whether it is a certain length. In addition, assertable includes utility functions to check the existence of target files and to efficiently import multiple tabular data files into one data.table.