latest_lowest_rank: Latest Lowest Rank

View source: R/multi-metric-functions.R

latest_lowest_rankR Documentation

Latest Lowest Rank

Description

Out of a series of ranked metrics, which one does the given asset_id report the lowest rank in?

Usage

latest_lowest_rank(metric_df, template_id = NULL)

Arguments

metric_df

A dataframe with the following columns: asset_id (chr), asset_class (chr), value (dbl), time (date or dttm), and name (chr). NOTE: the value column should reflect a percentage rank whose value is between 0 (worst rank) and 100 (best rank).

Value

A sentence denoting which metric in the submitted dataframe the given asset id had the lowest rank for.

Examples

## Not run: 
latest_lowest_rank(metric_df)

## End(Not run)


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