Codebook
========

.. currentmodule:: corr_vars.core.codebook

.. automodule:: corr_vars.core.codebook

The usual entry points are :meth:`Cohort.codebook()
<corr_vars.core.cohort.Cohort.codebook>` (see :ref:`codebook`) and the
``corr codebook`` command (see :doc:`../cli`). The functions below are the
building blocks they use.

.. autofunction:: build_codebook

.. autofunction:: summarise_column

.. autofunction:: summarise_frame

.. autofunction:: codebook_markdown

.. autofunction:: write_codebook

.. autodata:: DEFAULT_MIN_COUNT
