Package: assertable 0.2.8

assertable: Verbose Assertions for Tabular Data (Data.frames and Data.tables)

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.

Authors:Grant Nguyen [aut, cre], Max Czapanskiy [ctb]

assertable_0.2.8.tar.gz
assertable_0.2.8.zip(r-4.7-any)assertable_0.2.8.zip(r-4.6-any)assertable_0.2.8.zip(r-4.5-any)
assertable_0.2.8.tgz(r-4.6-any)assertable_0.2.8.tgz(r-4.5-any)
assertable_0.2.8.tar.gz(r-4.7-any)assertable_0.2.8.tar.gz(r-4.6-any)
assertable_0.2.8.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
assertable/json (API)

# Install 'assertable' in R:
install.packages('assertable', repos = c('https://gnguy.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gnguy/assertable/issues

On CRAN:

Conda:

5.80 score 1 packages 140 scripts 637 downloads 7 exports 1 dependencies

Last updated from:605e856cb0. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK99
source / vignettesOK172
linux-releaseOK102
macos-releaseOK156
macos-oldrelOK152
windows-develOK78
windows-releaseOK57
windows-oldrelOK69
wasm-releaseOK83

Exports:assert_colnamesassert_coltypesassert_idsassert_nrowsassert_valuescheck_filesimport_files

Dependencies:data.table

assertable File Assertion Intro
Data | Checking file existence | Importing files

Last update: 2017-01-26
Started: 2017-01-13

assertable Template
Data | File Check and Import | Checking Dimensions | Checking IDs

Last update: 2017-01-26
Started: 2017-01-13

assertable Data Assertion Intro
Data | Checking data structures | assert_nrows | assert_colnames | Checking column values | NA, infinite, etc. | Greater/less than, contains, equals | Vector comparisons | na.rm | Checking for ID variables | Asserting unique combinations of ID variables | Finding duplicate observations within combinations of ID variables | Additional assert_id options

Last update: 2017-01-13
Started: 2017-01-13