Utility functions
Important
Some or all of this functionality is available as part of a preview release. The content and the functionality are subject to change.
This reference describes utility functions in the Environmental, Social, and Governance metrics (preview) capability. These function definitions are available in the UtilitiesForMetrics notebook for the capability.
MetricsManager Class
Class Reference: MetricsManager
Description The MetricsManager class is designed to manage metrics definitions, labels, and computed outputs. It provides methods to perform CRUD operations on metrics definitions, labels, and computations of sustainability metrics.
Constructor MetricsManager()
Parameters: None
Description: Initializes the MetricsManager class with predefined schemas for metrics tables and loads or initializes necessary DataFrames.
Methods
- compute_and_save_metric_output
- create_metric_definition
- delete_metric_definition
- delete_metric_output
- get_all_metric_definition_ids
- get_all_metric_identifiers_by_sustainability_area
- get_metric_definition_by_id
- get_metric_definition_by_metric_name
- get_metric_id_by_metric_name
- get_metric_output_by_id
- update_metric_definition