View source: R/htk_text_generator.r
htk_text_generator | R Documentation |
generate dynamic text
htk_text_generator(
data,
category,
main_vars,
main_vars_label,
sub_vars = NULL,
sub_vars_label = NULL
)
data |
dataset with one row per country |
category |
name of the category: Efficiency, Affordability, Sustainability |
vars |
a vector of four variable codes that enter the algorithm, the first two are the variables of interest and the fourth one is a value [0,1] denoting the quality of the data |
vars_label |
a vector of three variable name that enter the algorithm |
a dataset containing the values of the indicator for each country and the paragraph of text interpretating the data
Manuel Betin, Federica De Pace, Naomi Cohen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.