editParentChild: Edit a Parent-Child table

View source: R/editParentChild.R

editParentChildR Documentation

Edit a Parent-Child table

Description

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

Usage

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(s)

Kevin See

Source

http://www.ptagis.org

Examples

createParentChildDf()

KevinSee/PITcleanr documentation built on Feb. 27, 2024, 11:03 p.m.