CRAN/E | dataclass

dataclass

Easily Create Structured Lists or Data Frames with Input Validation

Installation

About

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.

Key Metrics

Version 0.3.0
Published 2023-08-07 443 days ago
Needs compilation? no
License MIT
License File
CRAN checks dataclass results

Downloads

Yesterday 7 +133%
Last 7 days 41 -53%
Last 30 days 375 +30%
Last 90 days 900 +3%
Last 365 days 3.562 +76%

Maintainer

Maintainer

Chris Walker

Authors

Chris Walker

aut / cre / cph

Material

README
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

dataclass archive

Imports

purrr
rlang
glue
magrittr
tibble
cli
dplyr

Suggests

testthat ≥ 3.0.0