Skip to contents

[Stable]

Used to format metric metadata (dfMetrics) for use in charts and reports. This function takes a list of workflows and returns a data frame with one row per MetricID.

Usage

MakeMetric(lWorkflows)

Arguments

lWorkflows

A list of workflows, like the one returned by gsm.core::MakeWorkflowList().

Value

A data frame.

Examples

library(gsm.core)
lWorkflows <- MakeWorkflowList(
  strPath = "workflow/2_metrics",
  strNames = "kri",
  strPackage = "gsm.kri"
)
dfMetrics <- MakeMetric(lWorkflows)