create_metrics: Given a metric tbl and an Rmd file, turn into a named list of...

Description Usage Arguments Value Examples

View source: R/create-metrics.R

Description

Given a metric tbl and an Rmd file, turn into a named list of metric objects

Usage

1
create_metrics(..., rmd_file = NULL)

Arguments

...

One or more metric tables in wide metric format: one column for each metric.

rmd_file

The Rmd file that generated the compact metrics, which has documentation for the metrics and dimensions stored in the YAML front matter. If no Rmd file is given, it uses the currently running one.

Value

A named list of metric objects. Each of these has both the data and the metadata (documentation, dimensions, owner, etc) to make an interactive visualization.

Examples

1
# TODO

datacamp/tidymetrics documentation built on March 21, 2021, 3:28 a.m.