Skip to contents

get_transform_formula_single() gets the right transformation Excel formula for the specified indicator at cell reference. Used in get_transform_formula_single.

Usage

get_transform_formula_single(ind, raw_col, raw_row, ind_ids, iso3)

Arguments

ind

character with the indicator code (ind in billionaiRe::indicator_df())

raw_col

integer identifying the column where the raw value (pre-transformation) is located.

raw_row

integer identifying the row where the raw value (pre-transformation) is located.

ind_ids

Named vector of indicator codes for input indicators to the Billion. Although separate indicator codes can be used than the standard, they must be supplied as a named vector where the names correspond to the output of billion_ind_codes().

iso3

Country ISO3 code.

Value

character vector with the formula for the indicator, column, row combination specified. If indicator is not found, "" is returned.