| validate_policy_data | R Documentation |
Confirm that the input data contains every column returned by
required_policy_fields(). This function checks column presence but does
not validate individual values or column types.
validate_policy_data(rating_data, plan)
rating_data |
A data frame containing policy, risk, or entity records. |
plan |
A |
Invisibly returns TRUE if validation succeeds. Otherwise, the
function stops with an error.
ex <- example_rating_plan()
isTRUE(
validate_policy_data(
rating_data = ex$policies,
plan = ex$plan
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.