Define the variable names for the project by converting ugly data names into the names you want to use for functions like fetch().
1 | define_variables(definition_list, data = get_data())
|
definition_list |
list. A list that maps the new variable name to the old
ugly name. (e.g., |
data. |
The data to grap values from. This is assumed to be a three column melted dataframe, using reshape2 <http://cran.r-project.org/web/packages/reshape2/index.html>. The first column should contain IDs, the second column should contain variable names, and the third column should contain variable values. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.