text_timeline_two_max: Generate Text Describing Three Maximum Two-Items By...

Description Usage Arguments Value

View source: R/text_utils.R

Description

Generate Text Describing Three Maximum Two-Items By Year-Quarter

Usage

1
2
3
4
5
6
7
8
text_timeline_two_max(
  data,
  year_range,
  rate_text,
  item_name_1,
  item_name_2,
  rate_name
)

Arguments

data

a data frame

year_range

numeric vector represents the year.

rate_text

character. The character used in the text to represent the rate name.

item_name_1

character. The name of column in data storing the name of first item.

item_name_2

character. The name of column in data storing the name of second item.

rate_name

character. The name of column in data storing the value of rate.

Value

a character of sentence.


YuanchenZhu2020/antgreens documentation built on Dec. 18, 2021, 8:20 p.m.