Skip to content

overview

Classes

Functions:

get_dataset_reproduction(config, summary)

Dataset reproduction part of the report

Args: config: settings object summary: the dataset summary.

Returns: A renderable object

get_dataset_column_definitions(config, definitions)

Generate an overview section for the variable description

Args: config: settings object definitions: the variable descriptions.

Returns: A container object

get_dataset_alerts(config, alerts)

Obtain the alerts for the report

Args: config: settings object alerts: list of alerts

Returns: Alerts renderable object

get_overview_kpis(config, summary, alerts)

Headline numbers shown as tiles at the top of the HTML report.

Values are lists with one entry per dataset (one entry for a single report), fractions drive the small bar under each value.

get_dataset_items(config, summary, alerts)

Returns the dataset overview (at the top of the report)

Args: config: settings object summary: the calculated summary alerts: the alerts

Returns: A list with components for the dataset overview (overview, reproduction, alerts)