dataclass: Easily Create Structured Lists or Data Frames with Input Validation

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.

Package details

AuthorChris Walker [aut, cre, cph]
MaintainerChris Walker <walkerjameschris@gmail.com>
LicenseMIT + file LICENSE
Version1.0.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("dataclass")

Try the dataclass package in your browser

Any scripts or data that you put into this service are public.

dataclass documentation built on Sept. 24, 2024, 5:07 p.m.