validate_df_by_id {rollupTree} | R Documentation |
Validate a data frame with key "id" for rollup()
Description
validate_df_by_id()
is a convenience wrapper for validate_ds()
for the common case in which the
data set is a data frame with key column named "id".
Usage
validate_df_by_id(tree, df, prop, ...)
Arguments
tree |
tree to validate against |
df |
data frame |
prop |
property whose value is checked (leaf elements only) |
... |
other parameters passed to validate_ds() |
Value
TRUE if validation succeeds, halts otherwise
Examples
validate_df_by_id(wbs_tree, wbs_table, "work")
[Package rollupTree version 0.3.2 Index]