relationsforR
relationsforR is an open-source R package that provides a framework for modeling and manipulating mathematical and data-driven relations within R. It treats a relation as a set of ordered tuples over a fixed schema and exposes a compact API inspired by relational algebra and database theory. The package targets researchers and data scientists who require formal reasoning about relationships among data, as well as practical tools for relational data preparation and analysis within the R ecosystem.
Core capabilities include creating relations from data frames or lists, validating schema, and performing standard relational
Relation objects integrate with ordinary R data structures and tidyverse workflows, supporting conversions to and from
Typical workflows begin with constructing relations from datasets, applying a sequence of algebraic operations, and exporting