report_average: Report Average

View source: R/one-id-functions.R

report_averageR Documentation

Report Average

Description

Reports the average value of a given metric.

Usage

report_average(metric_df, template_id = NULL)

Arguments

metric_df

A dataframe requiring the following columns: asset_id, name, time, and value.

template_id

Optional. The template to be used for the article.

Value

A sentence reporting the average value of a given metric in the submitted dataframe.

Examples

## Not run: 
report_average(metric_df)

## End(Not run)


jupitertrades/tabletotext documentation built on Oct. 31, 2022, 5:47 p.m.