format_metrics: Format metrics (list) into a single table output (data frame)

Description Usage Arguments See Also

View source: R/dashboard-metrics.R

Description

Format metrics (list) into a single table output (data frame)

Usage

1
format_metrics(metrics, timeframe, group = "hunt")

Arguments

metrics

named list that holds summary data produced by calc_metrics()

timeframe

character: value to store in the 'timeframe' variable of the output (e.g, 'full-year', 'mid-year')

group

character: value to sore in the 'group' variable of the output (e.g., 'all_sports', 'fish', 'hunt')

See Also

Other dashboard functions: calc_metrics(), calc_part_rate(), calc_part(), calc_priv_rate(), est_month(), est_pop(), est_rate(), fill_missing_months(), write_dash()


southwick-associates/sadash documentation built on Jan. 6, 2022, 5:17 p.m.