View source: R/transform_hpop.R
transform_hpop_single | R Documentation |
This function is used within transform_hpop_data()
to generate transformed data
on a single column.
transform_hpop_single(df, value_col, transform_col, ind_ids)
df |
Data frame in long format, where 1 row corresponds to a specific country, year, and indicator. |
value_col |
Column name of column with indicator values. |
transform_col |
Column to put transformed values into |
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
|
A single column data frame of transformed values.
Other hpop:
add_hpop_populations()
,
calculate_hpop_billion_change()
,
calculate_hpop_billion()
,
calculate_hpop_contributions()
,
hpop_df
,
transform_hpop_data()
,
untransform_hpop_data()
,
untransform_hpop_single()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.