These functions manipulate databases using dot-separated paths, preserving nesting.
boilerplate_add_entry(db, path, value, auto_sort = TRUE)boilerplate_update_entry(db, path, value, auto_sort = TRUE)
boilerplate_remove_entry(db, path, auto_sort = TRUE)
boilerplate_get_entry(db, path)
boilerplate_sort_db(db)
boilerplate_path_exists(db, path)
boilerplate_list_paths(db, prefix = "")
Modified database (list).
Modified database (list).
Modified database (list).
The value at the specified path.
The sorted database.
Logical. TRUE
if the path exists, FALSE
otherwise.
Character vector of all available paths.
List. The database to examine.
Character. Dot-separated path.
Any. The value to set.
Logical. Whether to auto-sort at each level. Default TRUE
.
Character. Optional prefix for path construction.