df_set_row_by_key: Set row by key in data frame

View source: R/update_prop.R

df_set_row_by_keyR Documentation

Set row by key in data frame

Description

Set row by key in data frame

Usage

df_set_row_by_key(df, key, keyval, list)

Arguments

df

a data frame

key

name of the column used as key

keyval

value of the key for the specified row

list

named list of values to set

Value

The updated data frame

Examples

l <- list(id = "1.1", pid = "1", name = "Thermal", work = 11.9, budget = 25001)
df_set_row_by_key(wbs_table, "id", "1.1", l)

rollupTree documentation built on Feb. 10, 2026, 5:09 p.m.