dataclass: Easily Create Structured Lists or Data Frames with Input Validation (original) (raw)

Easily define templates for lists and data frames that validate each element. Specify the expected type (i.e., character, numeric, etc), expected length, minimum and maximum values, allowable values, and more for each element in your data. Decide whether violations of these expectations should throw an error or a warning. This package is useful for validating data within R processes which pull from dynamic data sources such as databases and web APIs to provide an extra layer of validation around input and output data.

Version: 1.0.0
Imports: purrr, rlang, glue, magrittr, tibble, cli, dplyr, lifecycle
Suggests: testthat (≥ 3.0.0)
Published: 2024-09-24
DOI: 10.32614/CRAN.package.dataclass
Author: Chris Walker [aut, cre, cph]
Maintainer: Chris Walker
License: MIT + file
NeedsCompilation: no
Materials: README
CRAN checks: dataclass results

Documentation:

Downloads:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=dataclassto link to this page.