Description Usage Arguments Value Possible categories Validation rules
Maps which categories chart variables can be assigned to. Minimum and maximum values are also provided when applicable.
1 | mapChartVariables(table, variables)
|
table |
A |
variables |
A |
A data.frame
. The first column represents the names of the variables. The next columns, named after the possible categories, booleans indicating if the variable can be assigned to the category.
TARGET
Numeric variables. They are typcally represented on the axis of the chart.
GROUP
Character variables. Represent categories by which the TARGET
variables are classified.
TIME
Date variable. Indicates when the TARGET
were observed.
KEY
Variables of any type. When combined, they represent the primary key - the id - of the table.
The variables are checked according to the rules estabilished in validation functions and in the following order:
targetVar: validateTargetVariables
groupVar: validateGroupVariable
timeVar: validateTimeVariable
key: validateKeys
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.