Principles

This part of the book is the most important. It sets out the conventions and design principles that all packages in the Tidy R OMOP CDM ecosystem follow. Adhering to these principles is what makes the ecosystem feel coherent: a developer who has worked with one package will find the next one immediately familiar, and an end user can compose functions from different packages into a single pipeline without friction.

These principles are not arbitrary. Each one exists because of a concrete problem encountered as the ecosystem grew: inconsistent naming caused confusion, ad-hoc result formats made downstream visualisation impossible, duplicated validation logic introduced divergent behaviour. The goal of this part is to give you the reasoning behind each convention, not just the rule.

The chapters are organised as follows: