get_transform_formula_single: Get the transformation formula for a specified indicator and...

View source: R/get_excel_formulas.R

get_transform_formula_singleR Documentation

Get the transformation formula for a specified indicator and cell reference

Description

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.


gpw13/rapporteur documentation built on Sept. 24, 2022, 9:15 a.m.