Description Usage Arguments Value Validation rules
Checks the validity of inequality restrictions imposed on a column.
It uses a direct connection to the dzVis database or a data.frame as the data source.
1 | validateLimits(data, columnName, min, max)
|
data |
A |
columnName |
A |
min |
A |
max |
A |
A character. The constant .VALID if the limits are valid and
an error message, otherwise.
min and max must be of the same type: both numeric or both character.
min must be less than max
If min and max type is numeric, the column values must also be numeric in R and int or double in the database.
If min and max type is character, the column values must be character in R and varchar in the database.
If min and max type is Date, the column values must be Date in R and date or datetime in the database.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.