Allow the user to easily make manual changes to a parent child table.

editParentChild(
  parent_child = NULL,
  fix_list = NULL,
  switch_parent_child = NULL
)

Arguments

parent_child

dataframe produced by `buildParentChild()`.

fix_list

a list of vectors to be changed. Each vector must be length 3, where the first two elements contain the parent and child locations to be edited, and the third element is the new parent location.

switch_parent_child

list of vectors to switch parent/child designations, where each vector consists of a current parent location and a child location, in that order. This is primarily intended to help with sites downstream of a tagging/marking location. Adding a parent/child pair here will not fix parent/child relationships with upstream or downstream locations of the parent/child pair (use the `fix_list` for that).

Author

Kevin See

Examples

createParentChildDf()
#> Error in createParentChildDf(): could not find function "createParentChildDf"