update_df_prop_by_id {rollupTree}R Documentation

Update a property in a data frame with key "id"

Description

update_df_prop_by_id() is a convenience wrapper around update_prop() for the common case in which the data set is a data frame whose key column is named "id"

Usage

update_df_prop_by_id(df, target, sources, prop, ...)

Arguments

df

a data frame

target

key of data set element to be updated

sources

keys of data set elements to be combined

prop

column name of the property

...

other arguments passed to update_prop()

Value

The updated dataframe

Examples

update_df_prop_by_id(wbs_table, "1", list("1.1", "1.2"), "work")

[Package rollupTree version 0.3.2 Index]